Create token (Cloud-only)

Create a new client side access token with the specified configuration.

Headers

AuthorizationstringRequired

Header authentication of the form Bearer <token>

Request

This endpoint expects an object.
policylist of objectsRequired
hostnamestringRequiredformat: "uri"

The hostname of the client side application. Please specify the full URL including the protocol (http or https).

expires_atstringOptional

The expiration date of the token. If not provided, the token will expire in 5 minutes

Response

201

policyobject
tokenstring
hostnamestring
expiresAtstring

Errors