DELETE/projects/{project_id}/users/{user_id}/roles/{role_id}

Unassign project role from user

Unassigns a project role from a user within a project.

3 parameters
project_idstringrequired
The ID of the project to modify.
user_idstringrequired
The ID of the user whose project role assignment should be removed.
role_idstringrequired
The ID of the project role to remove from the user.

5 status codes
200Project role unassigned from the user successfully.
objectstringrequired
Identifier for the deleted assignment, such as `group.role.deleted` or `user.role.deleted`.
deletedbooleanrequired
Whether the assignment was removed.
400The request parameters are invalid or the requested operation cannot be performed.
errorobjectrequired
403The caller does not have permission to perform this operation.
errorobjectrequired
Details about the permission error.
404The endpoint is unavailable or a requested resource was not found in this organization or project.
errorobjectrequired
429The request was rejected because a rate limit was exceeded.
errorobjectrequired

Error handling

A 400 is returned: The request parameters are invalid or the requested operation cannot be performed. A 403 is returned: The caller does not have permission to perform this operation. A 404 is returned: The endpoint is unavailable or a requested resource was not found in this organization or project. A 429 is returned: The request was rejected because a rate limit was exceeded.