Skip to main content
POST
/
library
/
{libraryId}
/
collections
/
{collectionId}
Update Collection
curl --request POST \
  --url https://video.bunnycdn.com/library/{libraryId}/collections/{collectionId} \
  --header 'AccessKey: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>"
}
'
{
  "success": true,
  "message": "<string>",
  "statusCode": 123
}

Authorizations

AccessKey
string
header
required

AccessKey based authentication

Path Parameters

libraryId
integer<int64>
required
collectionId
string
required

Body

application/json
name
string | null

The name of the collection

Response

The collection was successfully updated

success
boolean

Determines if the request was successful

message
string | null

Response message description

statusCode
integer<int32>

The response status code