DELETE
/
data-sources
/
{source_id}
Delete a data source
curl --request DELETE \
  --url https://apigcp.trynia.ai/v2/data-sources/{source_id} \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "message": "<string>"
}

Authorizations

Authorization
string
header
required

API key must be provided in the Authorization header

Path Parameters

source_id
string
required

Flexible data source identifier. Can be:

  • UUID (e.g., "550e8400-e29b-41d4-a716-446655440000")
  • Display name (e.g., "Vercel AI SDK - Core")
  • URL (e.g., "https://docs.trynia.ai/")

Response

Data source deleted successfully

success
boolean
message
string