Revoke a service account granted role
Revokes an active role granted to a service account in the organization associated with the authenticated service account. The granted role stays in the platform for audit purposes, so this does not delete it. Later requests for it return not found. A revoked service account can still have its roles revoked.
The authenticated service account must hold the
organizations:manage_identity_and_access permission. Without it the request
is forbidden, whether or not the requested granted role exists.
A service account may revoke its own granted roles, including the last one
that gives it organizations:manage_identity_and_access. Doing so takes
effect immediately and its later requests to this endpoint are forbidden.
To restore the permission, an organization administrator adds the service
account to the Administrators team in Settings.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
"4f6d0d9a-7b78-4c6a-b64f-2e2e3d2c8f9a"
"4f6d0d9a-7b78-4c6a-b64f-2e2e3d2c8f9a"
Response
No Content
