Header name | Description |
---|---|
Content-Type required |
application/json |
X-API-KEY required |
YOUR_API_KEY |
// Successful request DELETE /api/v2/collections/PczA0D6_6062iM9YvGdb/users/22 200 { "ok": "User 22 was removed succesfully" }
// User does not belong to entity DELETE /api/v2/collections/dDaGhEpc1wiMfU1KnerD/users/24 400 { "error": "User is not a member of this Collection" }
// If :collection_id is not found DELETE /api/v2/collections/not-found-id/users/25 404 { "error": "collection not found" }
// If :user_id is not found DELETE /api/v2/collections/5PYVcDRQsTfeGuYFLNcr/users/not-found-id 404 { "error": "Couldn't find User with 'id'=not-found-id" }
Code | Description |
---|---|
401 | Unauthorized |
404 | Not found |
500 | Internal Server Error |
422 | Missing parameters |