Skip to main content
PUT
/
v1
/
form_set_conditions
/
{id}
Update a Form Set Condition
curl --request PUT \
  --url https://api.rootly.com/v1/form_set_conditions/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/vnd.api+json' \
  --data '{
  "data": {
    "type": "form_set_conditions",
    "attributes": {
      "form_field_id": "<string>",
      "comparison": "equal",
      "values": [
        "<string>"
      ]
    }
  }
}'
{
  "data": {
    "id": "9b126b6e-6b5d-442a-b608-ac7dbf7e5e51",
    "type": "form_set_conditions",
    "attributes": {
      "form_set_id": "2082a0b1-ffb8-45a1-bb7d-743c0b433692",
      "form_field_id": "5456ce72-b0dd-4f37-b0b5-2a2de01f8226",
      "comparison": "equal",
      "values": [
        "test update"
      ]
    }
  }
}

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required

Body

application/vnd.api+json
data
object
required

Response

form_set_condition updated

data
object
required