Set Entitlement Provisioning Workflow
Bind a provisioning workflow to this one entitlement, in place of the default on its app. Replaces whatever was bound before.
The workflow must already exist and belong to your organization, or the request returns 404. One that is not a provisioning workflow returns 422 workflow.type_mismatch, and any other invalid workflow returns 400. An entitlement that can’t be requested returns 404.
A workflow can be bound to one entitlement, and must include the step that grants this entitlement, aimed at it. A workflow that belongs to another app or is already bound to another entitlement returns 409 workflow.bind_conflict, as does one deleted while the request ran.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
The entitlement's ID, which GET /v1/entitlements and GET /v1/apps/{app_uuid}/entitlements return as id.
Body
Request body to bind a workflow to an app or entitlement.
UUID of the workflow to associate.
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.