Manage Collections
Delete Collection
Changed onPermanently deletes the collection together with every video and live stream it contains — nothing is moved out of the collection first, it is deleted along with it. Fails with 400 if the collection contains a currently running live stream; stop it before deleting the collection. This cannot be undone.
delete/library/{libraryId}/collections/{collectionId}
Request
- Base URLhttps://video.bunnycdn.com
- AuthAPI key in header AccessKey
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
libraryIdinteger required
The ID of the video library.
collectionIdstring required
The unique ID of the collection.
Response
The collection was successfully deleted
Changes
- info
added the media type
application/jsonfor the response with the status - info
added the media type
application/jsonfor the response with the status - info
added the media type
application/jsonfor the response with the status - info
added the media type
application/jsonfor the response with the status - info
added the non-success response with the status
- info