Create access token
This API call returns a token with the specified access. The token can be passed to a third party without an account. Take security under consideration and use tokens responsibly.
You can use the token by passing it as a bearer token in the request's authorization header.
Description | Request to create an access token. |
Endpoint |
|
Method | POST |
Access Level Rules
Minimum Access Level | Account holder only |
Processing Units
Processing units | 0 |
Parameters
Name | Description | Required | Default |
---|---|---|---|
| The description of the token | true | |
| Array of objects. Each object must contain 'pathId' as uuid and 'access' as object with 'accessLevel' as an integer between 0 and 1000. If the type of the path is raster or vector you can also define 'geoFence' in the access object, with properties 'tiles' and/or 'maxZoom'. 'maxZoom' must be an integer and 'tiles' an array of objects with 'tileX', 'tileY' and 'zoom' as integers. | true | |
validFor | The lifetime of the token in seconds. | false | The token does not expire if the validFor argument is omitted (note that this has additional security implications, non-expiring tokens should be treated with extra care). |
scope | The scope of the token, can be one of 'all' or 'ogc'. | false | Default 'all'. |
Last updated