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": "b5bb87a1-a372-4f0a-8a07-a939b5610eb1",
  "created_at": "2024-11-20T13:24:01+00:00",
  "updated_at": "2024-11-20T13:24:01+00:00",
  "tasks_count": 5
}