Vai al contenuto principale
POST
/
api
/
v1
/
organizations
/
{organizationid}
/
workflows
/
{workflowid}
Associate workflow to organization
curl --request POST \
  --url https://app.aegister.com/api/v1/organizations/{organizationid}/workflows/{workflowid} \
  --header 'Content-Type: application/json' \
  --header 'X-Aegister-Token: <api-key>' \
  --data '
{
  "name": "<string>"
}
'
{
  "error": 0,
  "messages": [],
  "workflow": "risk-qa"
}
Associates a workflow (by ID) to an organization. Path params
  • organizationid — Organization ID
  • workflowid — Workflow ID
The request may include a name field to store a human-friendly workflow name.

Autorizzazioni

X-Aegister-Token
string
header
obbligatorio

Parametri del percorso

organizationid
integer
obbligatorio

Organization ID.

workflowid
string
obbligatorio

Workflow ID to associate.

Corpo

name
string

Human readable workflow name.

Risposta

error
integer

Any value different from 0 indicates an error.
More details can be found in messages.

Intervallo richiesto: 0 <= x <= 0
Esempio:

0

messages
array

If error is 1, contains zero or more details on the error.

Esempio:
[]
workflow
string

The workflow ID that was associated to the organization.