Workflows

Update multiple workflows

Update multiple workflows.

patch/workflows

Request

  • Base URL
    https://api.surense.com/api/v1
  • URL
    https://api.surense.com/api/v1/workflows
  • Auth
    OAuth 2
    Client credentials
    Token URL: https://api.surense.com/oauth/token scopes: workflows:checklists:manage

Request body

workflowsstring[] required

List of workflow IDs

typeIdstring

Workflow type ID

statusIdstring

Status ID

ownerIdstring

Owner ID

assigneeIdstring

Assignee ID

dueAtstring

Due date and time

dueAtTimeSetboolean

Whether due time is set

Example request

{
  "workflows": [
    "123e4567-e89b-12d3-a456-426614174000",
    "987fcdeb-51a2-43d7-8f9e-123456789abc"
  ],
  "typeId": "123e4567-e89b-12d3-a456-426614174000",
  "statusId": "123e4567-e89b-12d3-a456-426614174000",
  "ownerId": "123e4567-e89b-12d3-a456-426614174000",
  "assigneeId": "123e4567-e89b-12d3-a456-426614174000",
  "dueAt": "2024-12-31T23:59:59Z",
  "dueAtTimeSet": true
}

Response

OK

Changes

No recorded changes to this operation across all 1 revision of this API.