Deprecated: Function get_magic_quotes_gpc() is deprecated in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 99

Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 619

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1169

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176
Update a workflow - Rootly
Nothing Special   »   [go: up one dir, main page]

Skip to main content
PUT
/
v1
/
workflows
/
{id}
Update a workflow
curl --request PUT \
  --url https://api.rootly.com/v1/workflows/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/vnd.api+json' \
  --data '{
  "data": {
    "type": "workflows",
    "attributes": {
      "name": "<string>",
      "slug": "<string>",
      "description": "<string>",
      "command": "<string>",
      "command_feedback_enabled": true,
      "wait": "<string>",
      "repeat_every_duration": "<string>",
      "repeat_condition_duration_since_first_run": "<string>",
      "repeat_condition_number_of_repeats": 123,
      "continuously_repeat": true,
      "enabled": true,
      "locked": true,
      "position": 123,
      "workflow_group_id": "<string>",
      "trigger_params": {
        "trigger_type": "incident",
        "triggers": [
          "<string>"
        ],
        "incident_visibilities": [
          true
        ],
        "incident_kinds": [
          "test"
        ],
        "incident_statuses": [
          "in_triage"
        ],
        "incident_inactivity_duration": "<any>",
        "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_post_mortem_condition_cause": "ANY",
        "incident_condition_summary": "<any>",
        "incident_condition_started_at": "<any>",
        "incident_condition_detected_at": "<any>",
        "incident_condition_acknowledged_at": "<any>",
        "incident_condition_mitigated_at": "<any>",
        "incident_condition_resolved_at": "<any>",
        "incident_conditional_inactivity": "<any>"
      },
      "environment_ids": [
        "<string>"
      ],
      "severity_ids": [
        "<string>"
      ],
      "incident_type_ids": [
        "<string>"
      ],
      "incident_role_ids": [
        "<string>"
      ],
      "service_ids": [
        "<string>"
      ],
      "functionality_ids": [
        "<string>"
      ],
      "group_ids": [
        "<string>"
      ],
      "cause_ids": [
        "<string>"
      ],
      "sub_status_ids": [
        "<string>"
      ]
    }
  }
}'
{
  "data": {
    "id": "01e4f7e6-03a9-4d87-922b-42166af0743f",
    "type": "workflows",
    "attributes": {
      "name": "Alert Workflow with Status",
      "slug": "alert-workflow-with-status",
      "description": null,
      "command": "alert-bicycle-thieves",
      "command_feedback_enabled": true,
      "repeat_every_duration": null,
      "repeat_condition_duration_since_first_run": null,
      "repeat_condition_number_of_repeats": 0,
      "continuously_repeat": false,
      "repeat_on": [],
      "wait": null,
      "enabled": true,
      "locked": false,
      "position": 11,
      "workflow_group_id": null,
      "trigger_params": {
        "trigger_type": "alert",
        "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",
        "alert_condition": "ALL",
        "alert_condition_source": "ANY",
        "alert_condition_source_use_regexp": false,
        "alert_sources": [],
        "alert_condition_label": "ANY",
        "alert_condition_label_use_regexp": false,
        "alert_condition_status": null,
        "alert_condition_status_use_regexp": false,
        "alert_statuses": [],
        "alert_labels": [],
        "alert_condition_payload": "ANY",
        "alert_condition_payload_use_regexp": false,
        "alert_payload": [],
        "alert_query_payload": null
      },
      "severity_ids": [],
      "environment_ids": [],
      "incident_type_ids": [],
      "incident_role_ids": [],
      "service_ids": [],
      "functionality_ids": [],
      "group_ids": [],
      "updated_at": "2025-10-20T08:29:58.192-07:00",
      "created_at": "2025-10-20T08:29:58.054-07:00"
    },
    "relationships": {
      "custom_field_selections": {
        "data": []
      },
      "workflow_tasks": {
        "data": []
      },
      "workflow_runs": {
        "data": []
      }
    }
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
required

Resource UUID

Body

application/vnd.api+json
data
object
required

Response

can set and clear alert workflow status conditions

data
object
required
I