Delete a prompt label
DELETE
/v1/prompts/{slug}/labels/{label}Delete a prompt label.
Removes the label; the version it pointed at is unchanged. Requires an admin of the prompt's workspace, or an organization admin. 404 when the prompt or label does not exist.
Authorization
AuthorizationBearer va_A platform API key (
va_...), created under Settings > API keys. Scoped to an organization or one workspace, with an admin or member role. Used by the management API.
Path parameters
slugstringrequiredthe prompt's slug
labelstringrequiredthe label's name
Query parameters
organizationstringrequiredslug of the organization that owns it
Responses
204
No Content