PUT /accounts/{account_id}/devices/posture/{rule_id}
Updates a device posture rule.
Servers
- https://api.cloudflare.com/client/v4
Path parameters
Name | Type | Required | Description |
---|---|---|---|
account_id |
Yes | ||
rule_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 |
---|---|---|---|
expiration |
String | No |
Sets the expiration time for a posture check result. If empty, the result remains valid until it is overwritten by new data from the WARP client. |
name |
String | Yes |
The name of the device posture rule. |
description |
String | No |
The description of the device posture rule. |
input |
Object | No |
The value to be checked against. |
match[] |
Array | No |
The conditions that the client must match to run the rule. |
match[].platform |
String | No |
Possible values:
|
type |
String | Yes |
The type of device posture rule. Possible values:
|
schedule |
String | No |
Polling frequency for the WARP client posture check. Default: |
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.