API Referenceadmin
Revoke role from user
Revoke a role from a user. Requires IAM admin.
AuthorizationBearer <token>
In: header
Path Parameters
user_id*User Id
User ID
Format
uuidQuery Parameters
scope_type*RoleScope
Scope type
Value in
"organization" | "workspace"scope_id*Scope Id
Scope ID
Format
uuidResponse Body
application/json
curl -X delete "https://prisma.your-company.com/api/v1/admin/role-assignments/497f6eca-6276-4993-bfeb-53cbbbba6f08/roles?scope_type=organization&scope_id=497f6eca-6276-4993-bfeb-53cbbbba6f08"Empty
{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string"
}
]
}
