Prisma

Delete role

Delete a role. Requires IAM admin. Cannot delete system roles or roles with active assignments.

DELETE
/api/v1/admin/platform-roles/{role_id}

Authorization

AuthorizationBearer <token>

In: header

Path Parameters

role_id*Role Id

Role ID

Formatuuid

Response Body

application/json

curl -X delete "https://prisma.your-company.com/api/v1/admin/platform-roles/497f6eca-6276-4993-bfeb-53cbbbba6f08"
Empty
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string"
    }
  ]
}