v3

latestOpenAPI 3.0.12026-07-314655871.8 MB
Permissions

Update permissions

Updates permissions for a resource. Each entry provided in the request body is applied, replacing the previous assignment for the target principal. To remove permission assignments an entry with an empty set of permissions must be provided. Updates are not atomic (each entry is individually applied); if an error occurs, permissions may have been partially updated. They are however idempotent, so in case of transient errors it is possible to simply retry the request.

patch/organization/{organization_id}/permissions/{resource_type}/{resource_id}

Path parameters

organization_idstring required

ID of an organization

resource_type'project' | 'organization' | 'organization_unit' required

Resource type

resource_idstring required

Resource Id

Request body

operation'grant' | 'set' | 'revoke'

An enumeration.

Response

Update permissions