Header name | Description |
---|---|
Content-Type required |
application/json |
X-API-KEY required |
YOUR_API_KEY |
// Successful request DELETE /api/v2/projects/b1yK_68AMh-iCRZOXBzi/users/213 200 { "ok": "User 213 was removed succesfully" }
// User does not belong to entity DELETE /api/v2/projects/eJUe1tpUaukgRhP9clNg/users/215 400 { "error": "User is not a member of this Project" }
// If :project_id is not found DELETE /api/v2/projects/not-found-id/users/216 404 { "error": "project not found" }
// If :user_id is not found DELETE /api/v2/projects/hq6nbqJodogrzhhqZVMB/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 |