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 APIProduct context

Delete Product Context Definitions

DELETE
/v1/product-context-definition
/v1/product-context-definition

The Authorization access token

Authorization

X-API-KEY<token>

In: header

Query Parameters

project_id
Required
Project Id

Delete all product context definitions for this project

Format: "uuid"

product_context_id
Required
Product Context Id

Delete a specific product context definition by ID

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

Successful Response