Skip to main content

Binding a Workflow user as a Sub2API normal user

POST 

/api/auth/admin/users/:userId/sub2api-binding

Generate a Sub2API user name and a <userId>@workflow-code.local mailbox using the Workflow user ID. The operation is idempotent; if a deterministic mailbox already exists, an existing binding is returned directly.

Request

Responses

Returns a Sub2API binding that has been created or already exists.