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
- 200
- 401
- 403
- 404
- 502
- 503
Returns a Sub2API binding that has been created or already exists.
workflow-code standard error response.
workflow-code standard error response.
workflow-code standard error response.
workflow-code standard error response.
workflow-code standard error response.