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": "d3a06250-0b74-447c-9601-c3a08ad6a747",
    "type": "workflow_form_field_conditions",
    "attributes": {
      "workflow_id": "1f364f35-5a40-4b62-b8de-0cb2138eb8ab",
      "form_field_id": "0773ddaf-5fd0-4c76-ba4a-90751a09773a",
      "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

Response

200
application/vnd.api+json

workflow_form_field_condition updated

The response is of type object.