Skip to main content

Create an operator connection

POST 

/api/v1/workspaces/:id/operator/connections

Session only. Creates a connection that represents the signed-in user in this workspace, with a fixed scope list and role ceiling. The ceiling and every scope must be within the user's current role. The credential is returned once in this response, with Cache-Control no-store, and cannot be recovered afterwards. Lifetime defaults to 30 days and is capped at 90. Scopes for operations that do not exist yet are refused.

Request​

Responses​

Connection created; the credential is shown once