Update a workflow

PUT /api/v1/workflow/{uuid}
application/json

Body Required

  • name string Required

    The name of the workflow, must be unique.

Responses

  • 200 application/json
    Hide response attributes Show response attributes object
    • uuid string

      UUID of the account

    • The timestamp of when the resource was created.

    • The timestamp of when the resource was updated.

    • name string

      Name of the workflow

    • type string

      The type of workflow.

    • The number of tasks on the workflow.

PUT /api/v1/workflow/{uuid}
curl \
 -X PUT https://api.plannrcrm.com/api/v1/workflow/uuid \
 -H "Authorization: Bearer {OAUTH_ACCESS_TOKEN or PERSONAL_ACCESS_TOKEN}" \
 -H "Content-Type: application/json" \
 -H "Accept: application/json" \
 -d '{"name":"Pension Review"}'
Request examples
# Headers
Authorization: Bearer {OAUTH_ACCESS_TOKEN or PERSONAL_ACCESS_TOKEN}
Content-Type: application/json
Accept: application/json

# Payload
{
  "name": "Pension Review"
}
Response examples (200)
{
  "name": "Pension Transfer",
  "type": "simple",
  "uuid": "4d1a0932-ed67-406d-b2dc-a4bef004b72f",
  "created_at": "2024-10-16T11:10:15+01:00",
  "updated_at": "2024-10-16T11:10:15+01:00",
  "tasks_count": 5
}