Remove a role assignment
Removes a role assignment from your WorkOS environment.
POST
Body
Arguments
stringrequired
The ID of the organization membership.
stringrequired
The slug of the role to remove.
string
The ID of the resource. Use either this or resource_external_id and resource_type_slug.
string
The external ID of the resource. Requires resource_type_slug.
string
The resource type slug. Required with resource_external_id.
Field selectionChoose which fields should be included in the response. Learn more
string
Comma-separated response fields to include.