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

resource_id
string<uuid>
required

The ID of the resource.

user_id
string<uuid>
required

The ID of a user to remove from this resource.

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 access 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 resource. The named user's own permissions on the resource 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 resource.