Enabling or Disabling Dynamic WTP
Function
This API is used to enable or disable dynamic WTP.
URI
POST /v5/{project_id}/webtamper/rasp/status
| Parameter | Mandatory | Type | Description |
|---|---|---|---|
| project_id | Yes | String | Project ID. |
| Parameter | Mandatory | Type | Description |
|---|---|---|---|
| enterprise_project_id | No | String | Enterprise project ID. |
Request Parameters
| Parameter | Mandatory | Type | Description |
|---|---|---|---|
| X-Auth-Token | Yes | String | User token. It can be obtained by calling the IAM API used to obtain a user token. The value of X-Subject-Token in the response header is a user token. |
| Content-Type | No | String | Default value: application/json; charset=utf-8 |
| region | Yes | String | Region Id |
| Parameter | Mandatory | Type | Description |
|---|---|---|---|
| host_id_list | Yes | Array of strings | HostId list |
| status | No | Boolean | Dynamic WTP status |
Response Parameters
Status code: 200
Request succeeded.
None
Example Requests
Enable dynamic WTP for servers a and b.
POST https://{endpoint}/v5/{project_id}/webtamper/rasp/status
{
"host_id_list" : [ "a", "b" ],
"status" : true
} Example Responses
None
Status Codes
| Status Code | Description |
|---|---|
| 200 | Request succeeded. |
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