Deleting a Policy
Function
This API is used to delete a policy.
Calling Method
For details, see Calling APIs.
URI
DELETE /v2/{cloudProjectId}/rule-sets/{ruleSetId}/delete
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
cloudProjectId |
Yes |
String |
Project ID. |
ruleSetId |
Yes |
String |
Policy ID. |
Request Parameters
None
Response Parameters
Status code: 200
Parameter |
Type |
Description |
---|---|---|
status |
Boolean |
Successful or not. |
Example Requests
DELETE https://{endpoint}/v2/2d09f712e9504b61b034cc8f40e475a8/rule-sets/2f4a244eff3442f0befd6df80a1eabec/delete
Example Responses
None
Status Codes
Status Code |
Description |
---|---|
200 |
{ "status": true } |
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