delete
https://api.jmapcloud.io/api/ss/rest/v1/organizations//resources//permissions//members/
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
| Permission | Allows |
|---|---|
OWNER | Delete the resource, and add or remove permissions. Only the member who created the resource has it. |
MODIFY | Update the content of the resource. Includes VIEW. |
VIEW | Get the resource and its permissions |
A permission is given to a principal:
| Principal | Who |
|---|---|
| Member | The email of a member of your organization |
| Group | The email of a group of your organization, such as [email protected]: all its members |
| Organization | The 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:permissionisn'tVIEWorMODIFY,memberis the current user, isn't a valid email, is[email protected], an API key or the email of another organization, or the resource isPREFERENCES_NGorPREFERENCES_PORTAL.403: the user doesn't have theOWNERpermission on the resource, or doesn't have theVIEWpermission on it.404: the resource doesn't exist in your organization.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…