Skip to content

Delete Work Routine

DELETE
/work/routines/{routine_id}

Delete one routine. Same guard as changing it: the delivery conversation decides.

Answers 200 with the deleted id rather than the in-app 204: every Developer API operation returns the same {"data": ...} envelope, and one route with no body is the exception every generated client has to special-case.

Authorizations

Parameters

Path Parameters

routine_id
required

Routine id

string format: uuid

Routine id

Header Parameters

X-Target-Org-Id
Any of:
string

Responses

200

Successful Response

object
data
required

Confirmation that one routine is gone.

object
deleted

Always true; the operation is idempotent

boolean
default: true
id
required

The routine that was deleted

string
pagination
Any of:
object
has_next
required

Whether there are more pages

boolean
limit
required

Items per page

integer
next_cursor
Any of:
string
page
required

Current page number (1-indexed)

integer
total
required

Total number of items

integer

422

Validation Error

object
detail
Array<object>
object
loc
required
Array
msg
required
string
type
required
string