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
- 201
- 400
- 401
- 403
- 404
- 422
- 500
Connection created; the credential is shown once
Bad request
Unauthorized
Forbidden
Not found
Request rejected because it contained private key material
Internal server error