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": "cbe2d146-c784-491d-ba31-92729a616013",
"type": "workflow_form_field_conditions",
"attributes": {
"workflow_id": "d584bf79-8d5e-45a6-b9e3-c8a99e45499f",
"form_field_id": "86dfa6d2-1c7a-47c5-9345-d1f6fb20c7c9",
"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": "cbe2d146-c784-491d-ba31-92729a616013",
"type": "workflow_form_field_conditions",
"attributes": {
"workflow_id": "d584bf79-8d5e-45a6-b9e3-c8a99e45499f",
"form_field_id": "86dfa6d2-1c7a-47c5-9345-d1f6fb20c7c9",
"incident_condition": "IS",
"values": [],
"selected_group_ids": [],
"selected_option_ids": [],
"selected_service_ids": [],
"selected_functionality_ids": [],
"selected_user_ids": [],
"selected_catalog_entity_ids": []
}
}
}