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": "18156d91-6c98-41db-b1b4-1e080a26293c",
    "type": "form_set_conditions",
    "attributes": {
      "form_set_id": "2bb80a21-08ce-471b-8f1c-d4bfad17811f",
      "form_field_id": "3eac7a6a-6708-419c-8f25-5896f637e486",
      "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

Response

200
application/vnd.api+json

form_set_condition updated

The response is of type object.