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": "b5145c37-4810-4bc7-b54b-a2843eb403ab",
    "type": "workflow_form_field_conditions",
    "attributes": {
      "workflow_id": "7647315a-a309-4be7-acbd-0b44aab279a2",
      "form_field_id": "36f0e4bd-163a-4b88-b455-7de02d6013ea",
      "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
I