Header name | Description |
---|---|
Content-Type required |
application/json |
X-API-KEY required |
YOUR_API_KEY |
// Successful request DELETE /api/v2/projects/JM0cIqtPkW3FpeR7S_Fo/user_groups/12 200 { "ok": "User group 12 was removed succesfully" }
// User does not belong to entity DELETE /api/v2/projects/RZmpAwQPyzOMI4SifILf/user_groups/13 400 { "error": "User group with id 13 is not part of this Project" }
// If :project_id is not found DELETE /api/v2/projects/not-found-id/user_groups/14 404 { "error": "project not found" }
// If :user_group_id is not found DELETE /api/v2/projects/jwJ01jZ3agzXFGSsV8Sv/user_groups/not-found-id 404 { "error": "Couldn't find UserGroup with 'id'=not-found-id" }
Code | Description |
---|---|
401 | Unauthorized |
404 | Not found |
500 | Internal Server Error |
422 | Missing parameters |