Delivering a Decryption Policy
Function
This API is used to deliver a decryption policy.
Calling Method
For details, see Calling APIs.
URI
POST /v1/{project_id}/devices/security-policies/{policy_id}/decrypt
|
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
|
policy_id |
Yes |
Long |
Policy ID. |
|
project_id |
Yes |
String |
Project ID. |
Request Parameters
None
Response Parameters
Status code: 200
|
Parameter |
Type |
Description |
|---|---|---|
|
id |
String |
ID |
|
msg |
String |
Message. |
|
status |
String |
Response code. |
Status code: 201
Deliver a decryption policy.
Example Requests
POST /v1/{id}/devices/security-policies/{policy_id}/decrypt
Example Responses
None
Status Codes
|
Status Code |
Description |
|---|---|
|
200 |
Updated. |
|
201 |
Deliver a decryption policy. |
|
401 |
Unauthorized. The user is not logged in or the token is invalid. |
|
403 |
Unauthorized to access the resource. |
|
404 |
The specified project or policy 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