Deleting All Configurations
Function
This API is used to delete all configurations.
URI
DELETE /v1/{project_id}/kie/kv
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
project_id |
Yes |
String |
Fixed value: default. |
Request
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
Authorization |
No |
String |
This parameter is mandatory if security authentication is enabled for an exclusive ServiceComb engine. Otherwise, this parameter is not required. The token of an exclusive ServiceComb engine with security authentication enabled is in the following format: Authorization:Bearer {Token} For details about how to obtain the token, see Obtaining the User Token of an Exclusive ServiceComb Engine. |
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
ids |
Yes |
List<String> |
ID list of the configurations to be deleted. See Querying the Configuration List. |
Response
Status code: 204
Successfully deleted.
Status code: 404
Parameter |
Type |
Description |
---|---|---|
errorCode |
String |
Error code. |
errorMessage |
String |
Error message. |
detail |
String |
Location details. |
Status code: 500
Parameter |
Type |
Description |
---|---|---|
errorCode |
String |
Error code. |
errorMessage |
String |
Error message. |
detail |
String |
Location details. |
Example Request
Delete all configurations.
DELETE https://{endpoint}/v1/{project_id}/kie/kv { "ids":[ "id1", "id2" ] }
Example Response
Status code: 204
Successfully deleted.
Status Code
Status Code |
Description |
---|---|
204 |
No Content |
400 |
Bad Request |
500 |
Internal Server Error |
Error Code
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