Create Workflow
Create a workflow definition.
Build the steps from GET /v1/workflow-steps?app_id={app_uuid}&type={workflow type}, which lists the steps available for an app together with the input schema each one accepts. Pass the type you are creating here; without it, only the steps every workflow type accepts are listed.
Creating a workflow does not put it to work. Bind it to an app or an entitlement through their workflow endpoints, for example PUT /v1/apps/{app_uuid}/default-provisioning-workflow. type and app_id are fixed once set.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
Request shape for creating/updating a Workflow.
A name for this Workflow.
The kind of workflow.
approval, approval-chain, entitlement-provisioning, entitlement-deprovisioning, account-provisioning, account-deprovisioning The ordered steps of the workflow.
A description of this Workflow.
UUID of the app this Workflow belongs to. May be null for a shared, not-yet-associated Workflow. Immutable on update: a PUT whose app_id differs from the Workflow's current app is rejected with a 400 (workflow.app_reassignment_not_allowed).
Response
Successful Response
Response shape for a Workflow.
A UUID identifying this Workflow.
The kind of workflow.
approval, approval-chain, entitlement-provisioning, entitlement-deprovisioning, account-provisioning, account-deprovisioning The ordered steps of the workflow.
A name for this Workflow.
A description of this Workflow.
UUID of the app this Workflow belongs to, if associated.