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
}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
}AccessKey based authentication
The name of the collection
Was this page helpful?