This web service deletes one of the collections that was previously added to the user's library.
Method |
Endpoint |
DELETE |
/api/users/{userId}/collections/{collectionId} |
Path parameter |
Type |
Description |
{userId} |
String |
The user's identifier. |
{collectionId} |
String |
The identifier of the collection as retrieved when listing collections. |
Return code |
Description |
204 NO CONTENT |
The collection was deleted. |
400 BAD REQUEST |
A required parameter is missing or the color defined is invalid. |
401 UNAUTHORIZED |
The authorization header is absent or invalid. |
403 FORBIDDEN |
The user or API key does not have the USERS_ADMIN or ADMIN role, or the user corresponding to the USER_ID parameter does not have the COLLECTION_USER role. |
404 NOT FOUND |
No user exists with this ID. |