Prisma

Revoke role from user

Revoke a role from a user. Requires IAM admin.

DELETE
/api/v1/admin/role-assignments/{user_id}/roles

Authorization

AuthorizationBearer <token>

In: header

Path Parameters

user_id*User Id

User ID

Formatuuid

Query Parameters

scope_type*RoleScope

Scope type

Value in"organization" | "workspace"
scope_id*Scope Id

Scope ID

Formatuuid

Response 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"
    }
  ]
}