Update a specific workflow form field condition by id
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": "e7862f82-d48b-45d4-b4a4-efb9ab8b8df5",
"type": "workflow_form_field_conditions",
"attributes": {
"workflow_id": "79e9d76c-40ba-41a5-993b-4e2cd819c4c1",
"form_field_id": "2e6a1833-0f42-4c2e-b6bf-531ffee44e16",
"incident_condition": "IS",
"values": [],
"selected_group_ids": [],
"selected_option_ids": [],
"selected_service_ids": [],
"selected_functionality_ids": [],
"selected_user_ids": [],
"selected_catalog_entity_ids": []
}
}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
workflow_form_field_condition updated
The response is of type object
.
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": "e7862f82-d48b-45d4-b4a4-efb9ab8b8df5",
"type": "workflow_form_field_conditions",
"attributes": {
"workflow_id": "79e9d76c-40ba-41a5-993b-4e2cd819c4c1",
"form_field_id": "2e6a1833-0f42-4c2e-b6bf-531ffee44e16",
"incident_condition": "IS",
"values": [],
"selected_group_ids": [],
"selected_option_ids": [],
"selected_service_ids": [],
"selected_functionality_ids": [],
"selected_user_ids": [],
"selected_catalog_entity_ids": []
}
}
}