v1
latestOpenAPI 3.0.02026-07-1329122146.2 KBAdminService
Deletes a corpus and all of the data contained inside of the corpus.
Some tips for this API:
- This operation works with the Personal API Key and OAuth 2.0 (in a JWT "Bearer Token") authentication. You can find details of how to set up and use OAuth 2.0 here.
- It can take a few seconds to completely delete the corpus if there's heavy system load. Be patient if the corpus is still present after a deletion request is initiated.
post/v1/delete-corpus
Headers
customer-idinteger required
Enter the Customer ID to use for the request.
timeoutstring
(Optional) Enter the timeout value of the request in seconds, such as 10S or 30S.
Request body
Example request
{
"corpusId": 1
}Response
A successful response.