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": "8a18f304-3ff9-488f-9d0c-b9c4ec553f78",
"type": "workflow_form_field_conditions",
"attributes": {
"workflow_id": "09b9c417-6654-467a-8075-3f43d5251075",
"form_field_id": "f7211d40-c58f-4f5c-be78-40a48c64fccd",
"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.
Show child attributes
workflow_form_field_condition updated
Show child attributes
Was this page helpful?
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": "8a18f304-3ff9-488f-9d0c-b9c4ec553f78",
"type": "workflow_form_field_conditions",
"attributes": {
"workflow_id": "09b9c417-6654-467a-8075-3f43d5251075",
"form_field_id": "f7211d40-c58f-4f5c-be78-40a48c64fccd",
"incident_condition": "IS",
"values": [],
"selected_group_ids": [],
"selected_option_ids": [],
"selected_service_ids": [],
"selected_functionality_ids": [],
"selected_user_ids": [],
"selected_catalog_entity_ids": []
}
}
}