PUT
/v2/projects/{projectId}/users/{userId}/set-by-organizationRemove a user's direct project permission
Removes a user's direct permission for a project. The user then receives the organization's base permissions for the project, or no permission if they are not a member of the organization. Use this operation to replace project-specific permissions with the applicable organization-level access.
userIdintegerrequired
The integer identifier of the user whose direct project permission you want to remove.
projectIdintegerrequired
The integer identifier of the project whose direct permission you want to remove.
200Confirms that the user's direct project permission was removed.
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 change the user's 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 userId and projectId path parameters must identify the user and project whose direct permission you want to remove.