Delete Wiki
Function
This API deletes knowledge bases by ID.
URI
DELETE /v1/koosearch/repos
Request Parameters
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
X-Auth-Token |
Yes |
String |
Parameter description: Token used for API authentication. For how to obtain the token, see section 3.2 "Authentication." Constraints: N/A. |
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
repo_ids |
Yes |
Array of strings |
Knowledge base ID array |
Response Parameters
Status code: 200
Parameter |
Type |
Description |
---|---|---|
total_count |
Integer |
Number of expected deleted records. |
deleted_count |
Integer |
Number of deleted records. |
Status code: 400
Parameter |
Type |
Description |
---|---|---|
error_code |
String |
|
error_msg |
String |
Error description |
Status code: 500
Parameter |
Type |
Description |
---|---|---|
error_code |
String |
|
error_msg |
String |
Error description |
Example Requests
DELETE https://{endpoint}/v1/koosearch/repos { "repo_ids" : [ "a793100b-210f-4b05-9f75-27780d8308db" ] }
Example Responses
Status code: 200
Information deletion response body.
{ "total_count" : 1, "deleted_count" : 1 }
Status Codes
Status Code |
Description |
---|---|
200 |
Information deletion response body. |
400 |
Incorrect request body parameter |
500 |
Internal error |
Error Codes
See Error Codes.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot