Overview
AlertEvents
AlertGroups
AlertRoutingRules
AlertUrgencies
AlertSources
Alerts
Audits
Authorizations
CatalogEntities
CatalogEntityProperties
CatalogFields
Catalogs
[DEPRECATED] CustomFieldOptions
[DEPRECATED] CustomFields
CustomForms
DashboardPanels
Dashboards
Environments
EscalationPolicies
EscalationLevelsPolicies
EscalationLevelsPath
EscalationLevels
EscalationPaths
FormFieldOptions
FormFieldPlacementConditions
FormFieldPlacements
FormFieldPositions
FormFields
FormSetConditions
FormSets
Functionalities
WorkflowTasks
[DEPRECATED] WorkflowCustomFieldSelections
WorkflowFormFieldConditions
WorkflowGroups
WorkflowRuns
Workflows
Heartbeats
IncidentActionItems
[DEPRECATED] IncidentCustomFieldSelections
IncidentEventFunctionalities
IncidentEventServices
IncidentEvents
IncidentFeedbacks
IncidentFormFieldSelections
IncidentPermissionSetBooleans
IncidentPermissionSetResources
IncidentPermissionSets
IncidentRetrospectives
IncidentRetrospectiveSteps
IncidentRoleTasks
IncidentRoles
IncidentStatusPageEvents
IncidentSubStatuses
IncidentTypes
Incidents
- GETList incidents
- POSTCreates an incident
- GETRetrieves an incident
- PUTUpdate an incident
- DELDelete an incident
- PUTMitigate an incident
- PUTResolve an incident
- PUTCancel an incident
- PUTTriage an incident
- PUTRestart an incident
- PUTMark an incident as a duplicate
- POSTAdd subscribers to incident
- DELRemove subscribers from incident
- POSTAssign user to incident
- DELRemove assigned user from incident
IpRanges
LiveCallRouters
OnCallRoles
OnCallShadows
OverrideShifts
PlaybookTasks
Playbooks
RetrospectiveTemplates
RetrospectiveConfigurations
RetrospectiveProcessGroupSteps
RetrospectiveProcessGroups
RetrospectiveProcesses
RetrospectiveSteps
ScheduleRotationActiveDays
ScheduleRotationUsers
ScheduleRotations
Schedules
Services
Severities
StatusPageTemplates
StatusPages
SubStatuses
Teams
UserNotificationRules
WebhooksDeliveries
[DEPRECATED] Update a workflow custom field selection
[DEPRECATED] Update a workflow custom field selection
[DEPRECATED] Use form field endpoints instead. Update a specific workflow custom field selection by id
PUT
/
v1
/
workflow_custom_field_selections
/
{id}
curl --request PUT \
--url https://api.rootly.com/v1/workflow_custom_field_selections/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/vnd.api+json' \
--data '{
"data": {
"type": "workflow_custom_field_selections",
"attributes": {
"incident_condition": "ANY",
"values": [
"<string>"
],
"selected_option_ids": [
123
]
}
}
}'
{
"data": {
"id": "1",
"type": "workflow_custom_field_selections",
"attributes": {
"custom_field_id": 22,
"workflow_id": "754bc919-21b3-48ed-9358-f7b5d2f49177",
"incident_condition": "IS",
"values": [],
"selected_option_ids": []
}
}
}
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
Body
application/vnd.api+json
Available options:
workflow_custom_field_selections
The trigger condition
Available options:
IS
, ANY
, CONTAINS
, CONTAINS_ALL
, CONTAINS_NONE
, NONE
, SET
, UNSET
The value to associate with the custom field trigger
The selected option id for select and multi_select kinds
Response
200
application/vnd.api+json
workflow_custom_field_selection updated
Unique ID of the workflow_custom_field_selection
Available options:
workflow_custom_field_selections
The workflow for this selection
The custom field for this selection
The trigger condition
Available options:
IS
, ANY
, CONTAINS
, CONTAINS_ALL
, CONTAINS_NONE
, NONE
, SET
, UNSET
The selected option id for select and multi_select kinds
The value to associate with the custom field trigger
Was this page helpful?
curl --request PUT \
--url https://api.rootly.com/v1/workflow_custom_field_selections/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/vnd.api+json' \
--data '{
"data": {
"type": "workflow_custom_field_selections",
"attributes": {
"incident_condition": "ANY",
"values": [
"<string>"
],
"selected_option_ids": [
123
]
}
}
}'
{
"data": {
"id": "1",
"type": "workflow_custom_field_selections",
"attributes": {
"custom_field_id": 22,
"workflow_id": "754bc919-21b3-48ed-9358-f7b5d2f49177",
"incident_condition": "IS",
"values": [],
"selected_option_ids": []
}
}
}