Skip to main content
PUT
Allow or block WP automations for an environment

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

env_id
string
required
Example:

"54fb80af-576c-4fdc-ba4f-b596c83f15a1"

Body

application/json
status
enum<string>
required
Available options:
enabled,
disabled
Example:

"enabled"

Response

Updating WP automations allow status in progress

operation_id
string
required
Example:

"bot-protection:allow-wp-automations-54fb80af-576c-4fdc-ba4f-b596c83f15a1"

message
string
required
Example:

"Updating WP automations allow status in progress"

status
number
required
Example:

202