Enabling or Disabling Dynamic WTP
Function
This API is used to enable or disable dynamic WTP.
Calling Method
For details, see Calling APIs.
URI
POST /v5/{project_id}/webtamper/rasp/status
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
project_id |
Yes |
String |
Tenant ID Minimum: 0 Maximum: 64 |
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
enterprise_project_id |
No |
String |
Enterprise project Minimum: 0 Maximum: 64 |
Request Parameters
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
X-Auth-Token |
Yes |
String |
IAM token Minimum: 1 Maximum: 32768 |
region |
Yes |
String |
Region Id Minimum: 0 Maximum: 32 |
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
host_id_list |
No |
Array of strings |
HostId list Minimum: 0 Maximum: 128 Array Length: 0 - 20000 |
status |
No |
Boolean |
Dynamic WTP status |
Response Parameters
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 |
successful response |
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.