Skip to main content
Adds the resource to the access scope of a member or access group whose scope is restricted for this resource type, so they can reach it with the permissions they already have.

Path Parameters

string
required
Resource type — one of the values in the table above
string
required
Identifier of the resource, as listed in the table above
string
required
members or access-groups
string
required
principal_id of a member, or an access group id

Headers

string
Optional. Retrying with the same value replays the first result.

Request Body

string
required
Why the change is made; recorded in the audit log
string
Projects only: the project’s workspace, so the project can be shown by name in access scopes

Response

object

Errors

Errors answer with success: false, a message and an error_code. See Error Codes for every code.