Skip to main content
Removes the resource from the access scope of a member or access group, undoing Grant Access.
  • Changes that give someone an admin role, or that reduce what an admin can reach, also require the team owner or an admin.

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

Query Parameters

string
Optional reason recorded in the audit log

Headers

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

Response

object

Errors

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