Skip to main content

Create an operator enrollment (Connect an assistant)

POST 

/api/v1/workspaces/:id/operator/enrollments

Session only. Creates a single-use setup code that fixes the user, workspace, scopes, role ceiling, connection name and connection lifetime. It is valid for 10 minutes. The same checks as creating a connection apply now, so a request that could never be redeemed is refused immediately. The code is returned once, with Cache-Control no-store, and cannot be recovered afterwards. Redeeming it creates the connection; nothing about the resulting credential is kept.

Request​

Responses​

Enrollment created; the setup code is shown once