Skip to main content
DELETE
/
v2
/
roles
/
{role_id}
Delete a role
curl --request DELETE \
  --url https://api.arize.com/v2/roles/{role_id} \
  --header 'Authorization: Bearer <token>'
{
  "status": 400,
  "title": "Invalid request parameters",
  "detail": "The 'name' field is required and must be a non-empty string.",
  "instance": "/resource",
  "type": "https://arize.com/docs/ax/rest-reference/errors#invalid-request"
}

Authorizations

Authorization
string
header
required

Most Arize AI endpoints require authentication. For those endpoints that require authentication, include your API key in the request header using the format

Path Parameters

role_id
string
required

The unique role identifier (base64) A universally unique identifier (base64-encoded opaque string).

Example:

"RW50aXR5OjEyMzQ1"

Response

Role successfully deleted.