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": "80d533e4-042d-49c1-aa55-6bed9a4c6334",
    "type": "form_set_conditions",
    "attributes": {
      "form_set_id": "905d8b04-c7c2-4df8-b012-8f36d428f3ad",
      "form_field_id": "f303a5ed-6469-4875-856d-c467c86b645b",
      "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