x-api-key header.
Generating a token
- In the Ontoto Dashboard sidebar, navigate to Developer → API Tokens.
- Click Create Token.
- Enter a name and optional description for the token.
- Set an expiry date.
- Choose an access scope.
- Click Create Token.
Access scopes
Tokens currently grant read-only access. Write access may be added in the future for programmatic device management. When creating a token, you choose one of two access modes:All devices, groups, and sites
Grants read access to every device, device group, and site in your organisation.Scoped access
Grants read access only to the specific resources you select. You can mix and match across three resource types:
Permissions cannot be changed after a token is created.