Remove a permission from a member resource

Removes a permission of a principal (member, group or organization) on a member resource.

Required role: ORG_VIEWER, and the current user must have the OWNER permission on the resource. The organization path parameter must be the organization of the access token.

permission is VIEW or MODIFY (case-insensitive). Removing VIEW also removes MODIFY. member is the email of the principal (case-insensitive). Removing a permission the principal doesn't have changes nothing.

Response

result holds the remaining permissions of the principal: its principal, and its permissions (left out when it has none).

Permissions

PermissionAllows
OWNERDelete the resource, and add or remove permissions. Only the member who created the resource has it.
MODIFYUpdate the content of the resource. Includes VIEW.
VIEWGet the resource and its permissions

A permission is given to a principal:

PrincipalWho
MemberThe email of a member of your organization
GroupThe email of a group of your organization, such as [email protected]: all its members
OrganizationThe email of your organization, made of the first part of its id, such as [email protected]: all its members

Emails are compared ignoring the case.

When it fails

  • 400: permission isn't VIEW or MODIFY, member is the current user, isn't a valid email, is [email protected], an API key or the email of another organization, or the resource is PREFERENCES_NG or PREFERENCES_PORTAL.
  • 403: the user doesn't have the OWNER permission on the resource, or doesn't have the VIEW permission on it.
  • 404: the resource doesn't exist in your organization.
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
uuid
required

Id of your organization (must match the access token)

uuid
required

Id of the member resource

string
required
length ≥ 1

Permission to remove: VIEW (also removes MODIFY) or MODIFY (case-insensitive)

string
required
length ≥ 1

Email of the principal: a member, a group or the organization (case-insensitive)

Responses

Language
Credentials
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json