curl --request POST \
--url https://apigcp.trynia.ai/v2/bulk-delete \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"items": [
{
"id": "<string>",
"type": "repository"
}
]
}
'{
"deleted": 123,
"failed": 123,
"results": [
{
"id": "<string>",
"type": "<string>",
"success": true,
"error": "<string>"
}
]
}Delete multiple resources in a single request. Supports repositories, documentation, research papers, contexts, and local folders.
curl --request POST \
--url https://apigcp.trynia.ai/v2/bulk-delete \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"items": [
{
"id": "<string>",
"type": "repository"
}
]
}
'{
"deleted": 123,
"failed": 123,
"results": [
{
"id": "<string>",
"type": "<string>",
"success": true,
"error": "<string>"
}
]
}API key must be provided in the Authorization header
Request for bulk deletion
Items to delete
1Show child attributes
Was this page helpful?