Skip to main content
POST
/
admin
/
configuration
/
{id}
Update a configuration rule
curl --request POST \
  --url https://api.example.com/admin/configuration/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "is_enabled": true
}
'
{
  "configuration_rule": {
    "id": "<string>",
    "rule_type": "<string>",
    "is_enabled": true
  }
}

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required

The ID of the Rule.

Body

application/json
is_enabled
boolean

Response

200 - application/json

Created

configuration_rule
Configuration rule · object

A configuration rule object