Disabling/Enabling a Classification
Function
This API is used to disable or enable a specific security classification. You can control the enabling status of a classification by specifying the security level ID and project ID, helping you manage the data security level.
Calling Method
For details, see Calling APIs.
URI
PUT /v1/{project_id}/scan-security-levels/{level_id}/status
|
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
|
level_id |
Yes |
String |
Security level ID, which is used to identify a specific classification. |
|
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: 204
The operation is successful, but no content is returned.
Example Requests
None
Example Responses
None
Status Codes
|
Status Code |
Description |
|---|---|
|
200 |
Request succeeded. The operation result is returned. |
|
204 |
The operation is successful, but no content is returned. |
|
401 |
Unauthorized. The user is not logged in or the token is invalid. |
|
403 |
Unauthorized to access the resource. |
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