Delete a specific workflow by id
curl --request DELETE \
--url https://api.rootly.com/v1/workflows/{id} \
--header 'Authorization: Bearer <token>'{
"data": {
"id": "04aecb05-4c6b-4bac-b5ef-a1294750f3ab",
"type": "workflows",
"attributes": {
"name": "Prisoners",
"slug": "prisoners",
"description": null,
"command": null,
"command_feedback_enabled": true,
"repeat_every_duration": null,
"repeat_condition_duration_since_first_run": "",
"repeat_condition_number_of_repeats": 0,
"continuously_repeat": false,
"repeat_on": [],
"wait": null,
"enabled": true,
"locked": true,
"position": 1,
"workflow_group_id": null,
"trigger_params": {
"trigger_type": "incident",
"triggers": [],
"incident_visibilities": [],
"incident_kinds": [
"normal"
],
"incident_statuses": [],
"incident_inactivity_duration": null,
"incident_condition": "ALL",
"incident_condition_visibility": "ANY",
"incident_condition_kind": "IS",
"incident_condition_status": "ANY",
"incident_condition_sub_status": "ANY",
"incident_condition_environment": "ANY",
"incident_condition_severity": "ANY",
"incident_condition_incident_type": "ANY",
"incident_condition_incident_roles": "ANY",
"incident_condition_service": "ANY",
"incident_condition_functionality": "ANY",
"incident_condition_group": "ANY",
"incident_condition_cause": "ANY",
"incident_condition_summary": null,
"incident_condition_started_at": null,
"incident_condition_detected_at": null,
"incident_condition_acknowledged_at": null,
"incident_condition_mitigated_at": null,
"incident_condition_resolved_at": null,
"incident_conditional_inactivity": null,
"incident_post_mortem_condition_cause": "ANY"
},
"severity_ids": [],
"environment_ids": [],
"incident_type_ids": [],
"incident_role_ids": [],
"service_ids": [],
"functionality_ids": [],
"group_ids": [],
"updated_at": "2025-11-26T20:53:43.200-08:00",
"created_at": "2025-11-26T20:53:42.322-08:00"
},
"relationships": {
"custom_field_selections": {
"data": []
},
"workflow_tasks": {
"data": []
},
"workflow_runs": {
"data": []
}
}
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Resource UUID
admin can destroy locked workflow
Show child attributes
Unique ID of the workflow
workflows Show child attributes
The title of the workflow
Date of creation
Date of last update
The slug of the workflow
The description of the workflow
Workflow command
This will notify you back when the workflow is starting
Wait this duration before executing
Repeat workflow every duration
The workflow will stop repeating if its runtime since it's first workflow run exceeds the duration set in this field
The workflow will stop repeating if the number of repeats exceeds the value set in this field
When continuously repeat is true, repeat workflows aren't automatically stopped when conditions aren't met. This setting won't override your conditions set by repeat_condition_duration_since_first_run and repeat_condition_number_of_repeats parameters.
Repeat on weekdays
S, M, T, W, R, F, U Restricts workflow edits to admins when turned on. Only admins can set this field.
The order which the workflow should run with other workflows.
The group this workflow belongs to.
Show child attributes
incident Actions that trigger the workflow. One of custom_fields.<slug>.updated, incident_in_triage, incident_created, incident_started, incident_updated, title_updated, summary_updated, status_updated, severity_updated, environments_added, environments_removed, environments_updated, incident_types_added, incident_types_removed, incident_types_updated, services_added, services_removed, services_updated, visibility_updated, functionalities_added, functionalities_removed, functionalities_updated, teams_added, teams_removed, teams_updated, causes_added, causes_removed, causes_updated, timeline_updated, status_page_timeline_updated, role_assignments_updated, role_assignments_added, role_assignments_removed, slack_command, slack_channel_created, slack_channel_converted, microsoft_teams_channel_created, subscribers_updated, subscribers_added, subscribers_removed, user_joined_slack_channel, user_left_slack_channel
test, test_sub, example, example_sub, normal, normal_sub, backfilled, scheduled, scheduled_sub in_triage, started, detected, acknowledged, mitigated, resolved, closed, cancelled, scheduled, in_progress, completed ALL, ANY, NONE IS, ANY, CONTAINS, CONTAINS_ALL, CONTAINS_NONE, NONE, SET, UNSET IS, ANY, CONTAINS, CONTAINS_ALL, CONTAINS_NONE, NONE, SET, UNSET IS, ANY, CONTAINS, CONTAINS_ALL, CONTAINS_NONE, NONE, SET, UNSET IS, ANY, CONTAINS, CONTAINS_ALL, CONTAINS_NONE, NONE, SET, UNSET IS, ANY, CONTAINS, CONTAINS_ALL, CONTAINS_NONE, NONE, SET, UNSET IS, ANY, CONTAINS, CONTAINS_ALL, CONTAINS_NONE, NONE, SET, UNSET IS, ANY, CONTAINS, CONTAINS_ALL, CONTAINS_NONE, NONE, SET, UNSET IS, ANY, CONTAINS, CONTAINS_ALL, CONTAINS_NONE, NONE, SET, UNSET IS, ANY, CONTAINS, CONTAINS_ALL, CONTAINS_NONE, NONE, SET, UNSET IS, ANY, CONTAINS, CONTAINS_ALL, CONTAINS_NONE, NONE, SET, UNSET IS, ANY, CONTAINS, CONTAINS_ALL, CONTAINS_NONE, NONE, SET, UNSET IS, ANY, CONTAINS, CONTAINS_ALL, CONTAINS_NONE, NONE, SET, UNSET [DEPRECATED] Use incident_condition_cause instead
IS, ANY, CONTAINS, CONTAINS_ALL, CONTAINS_NONE, NONE, SET, UNSET Was this page helpful?
curl --request DELETE \
--url https://api.rootly.com/v1/workflows/{id} \
--header 'Authorization: Bearer <token>'{
"data": {
"id": "04aecb05-4c6b-4bac-b5ef-a1294750f3ab",
"type": "workflows",
"attributes": {
"name": "Prisoners",
"slug": "prisoners",
"description": null,
"command": null,
"command_feedback_enabled": true,
"repeat_every_duration": null,
"repeat_condition_duration_since_first_run": "",
"repeat_condition_number_of_repeats": 0,
"continuously_repeat": false,
"repeat_on": [],
"wait": null,
"enabled": true,
"locked": true,
"position": 1,
"workflow_group_id": null,
"trigger_params": {
"trigger_type": "incident",
"triggers": [],
"incident_visibilities": [],
"incident_kinds": [
"normal"
],
"incident_statuses": [],
"incident_inactivity_duration": null,
"incident_condition": "ALL",
"incident_condition_visibility": "ANY",
"incident_condition_kind": "IS",
"incident_condition_status": "ANY",
"incident_condition_sub_status": "ANY",
"incident_condition_environment": "ANY",
"incident_condition_severity": "ANY",
"incident_condition_incident_type": "ANY",
"incident_condition_incident_roles": "ANY",
"incident_condition_service": "ANY",
"incident_condition_functionality": "ANY",
"incident_condition_group": "ANY",
"incident_condition_cause": "ANY",
"incident_condition_summary": null,
"incident_condition_started_at": null,
"incident_condition_detected_at": null,
"incident_condition_acknowledged_at": null,
"incident_condition_mitigated_at": null,
"incident_condition_resolved_at": null,
"incident_conditional_inactivity": null,
"incident_post_mortem_condition_cause": "ANY"
},
"severity_ids": [],
"environment_ids": [],
"incident_type_ids": [],
"incident_role_ids": [],
"service_ids": [],
"functionality_ids": [],
"group_ids": [],
"updated_at": "2025-11-26T20:53:43.200-08:00",
"created_at": "2025-11-26T20:53:42.322-08:00"
},
"relationships": {
"custom_field_selections": {
"data": []
},
"workflow_tasks": {
"data": []
},
"workflow_runs": {
"data": []
}
}
}
}