The Access Token Object
This is an object representing an access token.
Properties
-
id
numberThe numeric ID
-
access
stringType of token :
public
orprivate
(preview token) -
branch_id
numberBranch to which the token is associated to. Only if you are using the Pipelines application (
null
otherwise) -
name
stringThe name of the access token
-
space_id
numberNumeric ID of a space
-
token
stringThe token
-
story_ids
number[]List of story IDs that can be accessed with the access token. Only if you are using the Access Token Scopes app.
-
min_cache
numberThe minimum of seconds for the CDN cache. Default 0
Example Object
{
"api_keys": [
{
"id": 650836,
"access": "public",
"branch_id": 32198,
"name": "New",
"space_id": 123123,
"token": "13Kft3335iwbBOI333wawtt",
"story_ids": [
123,
1234,
1321
],
"min_cache": 60
},
{
"id": 448948,
"access": "private",
"branch_id": null,
"name": null,
"space_id": 233027,
"token": "333LMgPcrM555kSeSL988gtt",
"story_ids": [],
"min_cache": 0
}
]
}