Deleting a Sensitivity Level
Function
This API is used to delete custom sensitivity level based on a specified ID.
Calling Method
For details, see Calling APIs.
URI
DELETE /v1/{project_id}/scan-security-levels/{level_id}
|
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
|
level_id |
Yes |
String |
Sensitivity level ID, which uniquely identifies a sensitivity level. |
|
project_id |
Yes |
String |
Project ID, which is used to identify a specific project. |
Request Parameters
None
Response Parameters
Status code: 200
|
Parameter |
Type |
Description |
|---|---|---|
|
msg |
String |
Returned message, which is used to describe the operation result or status information. |
|
status |
String |
Returned status, which indicates whether the operation is successful. For example, 200 indicates that the operation is successful, and 400 indicates that the request is invalid. |
Status code: 201
Sensitivity level updated.
Example Requests
DELETE /v1/{project_id}/scan-security-levels/{level_id}
Example Responses
None
Status Codes
|
Status Code |
Description |
|---|---|
|
200 |
Request succeeded. The update result is returned. |
|
201 |
Sensitivity level updated. |
|
401 |
Unauthorized. The user is not logged in or the token is invalid. |
|
403 |
Unauthorized to access the resource. |
|
404 |
The specified sensitivity level is not found. |
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