Our Python SDK got smarter. We developed a Typscript SDK too. We are updating our SDK code blocks. Python SDKhere.Typscript SDKhere.
Description
Patronus AI APIError taxonomy

Remove Labels From Error Taxonomy Revision

Remove labels from a error taxonomy revision.

Returns 204 No Content on success.

POST
/v1/error-taxonomy-revision/{revision_id}/remove-labels
/v1/error-taxonomy-revision/{revision_id}/remove-labels

The Authorization access token

Authorization

X-API-KEY<token>

In: header

Request Body

application/jsonRequired

account_idAccount Id

labels
Required
Labels

Path Parameters

revision_id
Required
Revision Id

ID of the error taxonomy revision to remove labels from

Format: "uuid"
curl -X POST "https://api.patronus.ai/v1/error-taxonomy-revision/497f6eca-6276-4993-bfeb-53cbbbba6f08/remove-labels" \
  -H "X-API-KEY: <token>" \
  -H "Content-Type: application/json" \
  -d '{
    "account_id": "449e7a5c-69d3-4b8a-aaaf-5c9b713ebc65",
    "labels": [
      "string"
    ]
  }'

Successful Response