Modifying Security Protection Measures in Batches
Function
This API is used to update security protection measures corresponding to data protection levels in batches.
Calling Method
For details, see Calling APIs.
URI
POST /v1/{project_id}/protect-measure-requirements/batch-update
|
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
|
project_id |
Yes |
String |
Unique project ID. |
Request Parameters
|
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
|
[items] |
Yes |
Array of MeasureRequirementDetail objects |
Specific measure requirements. |
|
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
|
create_time |
No |
Long |
Creation time. |
|
data_type_info |
No |
DataTypeDetail object |
Data type details. |
|
id |
No |
Long |
Measure ID. |
|
measure_info |
No |
MeasureDetail object |
Specific measure information. |
|
protect_level |
No |
String |
Protection requirements. |
|
update_time |
No |
Long |
integer |
|
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
|
category |
No |
String |
Category of data protection measures. |
|
create_time |
No |
Long |
Creation time. |
|
data_type |
No |
String |
Data protection type. |
|
data_type_id |
No |
String |
Value of level_id when the data protection type is LEVEL. |
|
id |
No |
Long |
Data protection measure ID. |
|
is_deleted |
No |
Boolean |
Deletion flag. |
|
life_cycle |
No |
String |
Lifecycle type. |
|
update_time |
No |
Long |
Update time. |
|
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
|
create_time |
No |
Long |
Creation time. |
|
description |
No |
String |
Description. |
|
id |
No |
Long |
ID |
|
is_deleted |
No |
Boolean |
Deletion flag. |
|
life_cycle |
No |
String |
Lifecycle type. |
|
measure_type |
No |
String |
Measure type. |
|
name |
No |
String |
Name. |
|
update_time |
No |
Long |
Update time. |
Response Parameters
Status code: 200
|
Parameter |
Type |
Description |
|---|---|---|
|
id |
String |
ID |
|
msg |
String |
Message. |
|
status |
String |
Response code. |
Status code: 201
Resource being created.
Example Requests
POST /v1/{project_id}/protect-measure-requirements/batch-update
[ {
"create_time" : 0,
"data_type_info" : { },
"id" : 0,
"measure_info" : { },
"protect_level" : "string",
"update_time" : 0
} ]
Example Responses
None
Status Codes
|
Status Code |
Description |
|---|---|
|
200 |
Updated. |
|
201 |
Resource being created. |
|
401 |
Unauthorized. The user is not logged in or the token is invalid. |
|
403 |
Unauthorized to access the resource. |
|
404 |
The specified project does not exist. |
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