Skip to main content

Create a site token

Request

Security
ApiKey(Required scopes: siteTokens.create)
Bodyapplication/jsonrequired
siteIdstringrequired

Site associated with the newly created token

Payload
{ "siteId": "string" }

Responses

A new site token

Bodyapplication/json
idstringrequired

ID of the site token

createdAtstring, (date-time)required

Timestamp of the site token's creation

siteIdstringrequired

ID of the associated Primary or Edge Site

tokenstring

Generated token. This is only available on creation.

Response
{ "id": "string", "createdAt": "2019-08-24T14:15:22Z", "siteId": "string", "token": "string" }