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

Delete Error Taxonomy Definitions

Delete error taxonomy definitions.

Both project_id and error_taxonomy_id must be provided. Returns 204 No Content on success.

DELETE
/v1/error-taxonomy-definition
/v1/error-taxonomy-definition

The Authorization access token

Authorization

X-API-KEY<token>

In: header

Query Parameters

project_id
Required
Project Id

Delete all error taxonomy definitions for this project

Format: "uuid"

error_taxonomy_id
Required
Error Taxonomy Id

Delete a specific error taxonomy definition by ID

Format: "uuid"
curl -X DELETE "https://api.patronus.ai/v1/error-taxonomy-definition?project_id=497f6eca-6276-4993-bfeb-53cbbbba6f08&error_taxonomy_id=497f6eca-6276-4993-bfeb-53cbbbba6f08" \
  -H "X-API-KEY: <token>"

Successful Response