Skip to main content
POST
Move a Workflow to Draft

Autorizações

Authorization
string
header
obrigatório

JWT bearer token issued by the identity provider. Send it in the Authorization header as Bearer <token>.

Parâmetros de caminho

id
string<uuid>
obrigatório

Unique identifier of the workflow.

Resposta

Indicates that the request was successful and the response contains the requested data.

createdAt
string<date-time>

Timestamp when the workflow was created.

Exemplo:

"2026-03-17T14:30:00Z"

description
string

Human-readable description of the workflow.

Exemplo:

"Receives a webhook trigger and logs the payment event."

edges
object[]

Connections between nodes that define the execution flow.

id
string<uuid>

Unique identifier of the workflow.

Exemplo:

"a1b2c3d4-e5f6-7890-abcd-ef1234567890"

metadata
object

Custom key-value pairs for tagging or categorizing.

Exemplo:
name
string

Unique name of the workflow.

Exemplo:

"Payment Notification Flow"

nodes
object[]

The steps that make up this workflow.

status
enum<string>

Current lifecycle status: draft (editable), active (executable), or inactive (archived).

Opções disponíveis:
draft,
active,
inactive
Exemplo:

"active"

updatedAt
string<date-time>

Timestamp of the last update.

Exemplo:

"2026-03-17T15:00:00Z"