PUT /accounts/{account_id}/dex/devices/dex_tests/{dex_test_id}
Update a DEX test.
Servers
- https://api.cloudflare.com/client/v4
Path parameters
Name | Type | Required | Description |
---|---|---|---|
account_id |
String | Yes | |
dex_test_id |
String | Yes |
Request headers
Name | Type | Required | Description |
---|---|---|---|
Content-Type |
String | Yes |
The media type of the request body.
Default value: "application/json" |
Request body fields
Name | Type | Required | Description |
---|---|---|---|
data |
Object | Yes |
The configuration object which contains the details for the WARP client to conduct the test. |
data.method |
String | No |
The HTTP request method type. |
data.kind |
String | No |
The type of test. |
data.host |
String | No |
The desired endpoint to test. |
name |
String | Yes |
The name of the DEX test. Must be unique. |
description |
String | No |
Additional details about the test. |
target_policies[] |
Array | No |
DEX rules targeted by this test |
target_policies[].id |
String | No |
The id of the DEX rule |
target_policies[].name |
String | No |
The name of the DEX rule |
target_policies[].default |
Boolean | No |
Whether the DEX rule is the account default |
interval |
String | Yes |
How often the test will run. |
enabled |
Boolean | Yes |
Determines whether or not the test is active. |
test_id |
String | No |
The unique identifier for the test. |
targeted |
Boolean | No |
How to start integrating
- Add HTTP Task to your workflow definition.
- Search for the API you want to integrate with and click on the name.
- This loads the API reference documentation and prepares the Http request settings.
- Click Test request to test run your request to the API and see the API's response.