Header name | Description |
---|---|
Content-Type required |
application/json |
X-API-KEY required |
YOUR_API_KEY |
// Successful request POST /api/v2/projects/gix_mwgYAT_fTKSiACiL/users/206 200 { "ok": "User 206 was added succesfully" }
// User is already added POST /api/v2/projects/O47KoWEaEppYUqao4Djx/users/208 400 { "error": "User is already member of this Project" }
// If :project_id is not found POST /api/v2/projects/not-found-id/users/209 404 { "error": "project not found" }
// If :user_id is not found POST /api/v2/projects/HJNqfZ0xeI3iTqaNHA6L/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 |