Skip to main content
DELETE
/
v2
/
prompt-versions
/
{version_id}
/
labels
/
{label_name}
Remove a label from a prompt version
curl --request DELETE \
  --url https://api.arize.com/v2/prompt-versions/{version_id}/labels/{label_name} \
  --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://example.com/probs/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

version_id
string
required

The unique identifier of the prompt version A universally unique identifier

Example:

"RW50aXR5OjEyMzQ1"

label_name
string
required

The name of the label (e.g., "production", "staging")

Response

Label successfully removed from version