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": "Risk Assessment Q1"
}'
{
  "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.

Authorizations

X-Aegister-Token
string
header
required

Path Parameters

organizationid
integer
required

Organization ID.

workflowid
string
required

Workflow ID to associate.

Body

name
string

Human readable workflow name.

Response

error
integer

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

Required range: 0 <= x <= 0
Examples:

0

messages
any[]

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

Examples:
[]
workflow
string

The workflow ID that was associated to the organization.

โŒ˜I