Service Accounts
These endpoints are served by the Allternit runtime (the Desktop app, or a paired or hosted computer), not by
api.allternit.com. On Allternit Cloud the console hides this page.client_id and client_secret. The secret is returned only on creation and rotation; at all other times only its SHA-256 hash is stored.
Base URL
api.allternit.com.
Endpoints
Scopes
Scopes are passed as a comma-separated string on creation or update and returned as an array. Typical scopes include:gateway:readgateway:writeadmin
Create a service account
Request body
Response
List service accounts
Response
Update a service account
Response
Rotate a client secret
Response
Authenticate with a service account
Use theclient_id and client_secret as a Bearer token or exchange them for an access token according to your organization’s auth flow. Pass the resulting token in the Authorization header:
Error codes
Related pages
- Access tokens — organization access tokens for CLI surfaces
- Workspaces — scope service accounts to workspaces
- RBAC — fine-grained roles and groups