PUT
/
v1
/
workflow_tasks
/
{id}
curl --request PUT \
  --url https://api.rootly.com/v1/workflow_tasks/%7Bid%7D \
  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
  --header 'content-type: application/vnd.api+json'
{
  "data": {
    "id": "e421e88b-34bc-47ca-bf3b-eed89470afae",
    "type": "workflow_tasks",
    "attributes": {
      "workflow_id": "9da6de8c-bec2-4930-b8e1-5696233dd818",
      "task_params": {
        "task_type": "send_email",
        "from": "Rootly <no-reply@rootly.com>",
        "to": [
          "aut"
        ],
        "cc": [],
        "bcc": [],
        "subject": "Sapiente accusamus qui facilis.",
        "preheader": null,
        "body": "updated",
        "include_header": true,
        "include_footer": true,
        "custom_logo_url": null
      },
      "name": "Another name",
      "position": 2,
      "skip_on_failure": true,
      "enabled": false,
      "created_at": "2025-03-05T15:07:43.800-08:00",
      "updated_at": "2025-03-05T15:07:45.492-08:00"
    }
  }
}

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required

Body

application/vnd.api+json
data
object
required

Response

200
application/vnd.api+json
workflow_task updated
data
object
required