Skip to main content
DELETE
cURL

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

group_id
string<uuid>
required

The ID of the group.

user_id
string<uuid>
required

The ID of a user to remove from this group.

Query Parameters

access_level_remote_id
string

The remote ID of the access level for which this user has direct access. If omitted, the default access level remote ID value (empty string) is assumed.

Body

application/json
acting_user_id
string<uuid>

Record this Opal user as the actor of the membership removal in the audit event instead of the caller. Only for service users an admin has allowed to act for users, in organizations with the feature enabled. The named user must be a person (not a service user) in the caller's organization and active in the identity provider. Authorization is unchanged: the caller still needs permission to edit assignments on the group. The named user's own permissions on the group are not evaluated. Unknown body fields are rejected, so a misspelled field fails instead of removing access as the caller.

Response

This user's access was successfully removed from this group.