PUT
/v2/projects/{projectId}/users/{userId}/revoke-accessRevoke a user's project access
Revokes a user's access to a project. Use this operation when the user should no longer have permission to access the specified project. The response confirms the operation without returning a project or user object.
projectIdintegerrequired
The integer identifier of the project whose access you want to revoke.
userIdintegerrequired
The integer identifier of the user whose project access you want to revoke.
200Confirms that the request to revoke the user's project access completed.
400Returned when the request is invalid.
codestringrequired
paramsarray<object>optional
401Returned when the request is not authorized.
codestringrequired
paramsarray<object>optional
403Returned when the authenticated user does not have permission to revoke project access.
codestringrequired
paramsarray<object>optional
404Returned when the project or user is not found.
codestringrequired
paramsarray<object>optional
Error handling
A 400 is returned when the request is invalid; a 401 when the authenticated user is not authorized; a 403 when the authenticated user lacks permission; and a 404 when the project or user is not found. The projectId and userId path parameters must identify the project and user whose access you want to revoke.