Skip to main content
POST
Deployment token

Authorizations

Authorization
string
header
required

Token authentication. Send Authorization: Bearer <YOUR_TOKEN>.

Path Parameters

deploymentId
integer
required

Body

application/json

CreateDeploymentTokenInput

expiresIn
integer | null

Token lifetime in seconds, between 60 and 86400. Omit to keep the historical default of 24 hours (86400). Callers that hold the token outside a browser session — scripts, BI tools, scheduled jobs — should request a short lifetime and re-issue tokens instead.

Required range: 60 <= x <= 86400

Response

200 - application/json
cubeApiToken
string
required