Skip to main content
PUT
/
v1
/
workflow_form_field_conditions
/
{id}
Update a workflow form field condition
curl --request PUT \
  --url https://api.rootly.com/v1/workflow_form_field_conditions/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/vnd.api+json' \
  --data '{
  "data": {
    "type": "workflow_form_field_conditions",
    "attributes": {
      "incident_condition": "ANY",
      "values": [
        "<string>"
      ],
      "selected_catalog_entity_ids": [
        "<string>"
      ],
      "selected_functionality_ids": [
        "<string>"
      ],
      "selected_group_ids": [
        "<string>"
      ],
      "selected_option_ids": [
        "<string>"
      ],
      "selected_service_ids": [
        "<string>"
      ],
      "selected_user_ids": [
        123
      ]
    }
  }
}'
{
  "data": {
    "id": "9718ed75-b12a-49c4-9b83-76b7323cc4fb",
    "type": "workflow_form_field_conditions",
    "attributes": {
      "workflow_id": "c2ccf3a6-0b4a-4ee1-a7e1-2d8748ce4145",
      "form_field_id": "5352a76e-7f7c-4028-b94c-1a801ea8cee3",
      "incident_condition": "IS",
      "values": [],
      "selected_group_ids": [],
      "selected_option_ids": [],
      "selected_service_ids": [],
      "selected_functionality_ids": [],
      "selected_user_ids": [],
      "selected_catalog_entity_ids": []
    }
  }
}

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

workflow_form_field_condition updated

data
object
required