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": "c054d823-d1af-41dd-a9b8-fc8f30c9181c",
"type": "workflow_form_field_conditions",
"attributes": {
"workflow_id": "124e38a5-0795-48b8-9fc2-fb81ca26514d",
"form_field_id": "cba9a157-0a96-4669-8da7-7c08e32bf540",
"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": "c054d823-d1af-41dd-a9b8-fc8f30c9181c",
"type": "workflow_form_field_conditions",
"attributes": {
"workflow_id": "124e38a5-0795-48b8-9fc2-fb81ca26514d",
"form_field_id": "cba9a157-0a96-4669-8da7-7c08e32bf540",
"incident_condition": "IS",
"values": [],
"selected_group_ids": [],
"selected_option_ids": [],
"selected_service_ids": [],
"selected_functionality_ids": [],
"selected_user_ids": [],
"selected_catalog_entity_ids": []
}
}
}