Skip to main content
DELETE
/
sources
/
{source_id}
Delete source
curl --request DELETE \
  --url https://apigcp.trynia.ai/v2/sources/{source_id} \
  --header 'Authorization: Bearer <token>'
{
  "id": "<string>",
  "status": "<string>"
}

Authorizations

Authorization
string
header
required

API key must be provided in the Authorization header

Path Parameters

source_id
string
required

Query Parameters

type
enum<string>

Unified source type

Available options:
repository,
documentation,
research_paper,
huggingface_dataset,
local_folder

Response

200 - application/json

OK

id
string
required
status
string
required