v1

latestOpenAPI 3.1.02026-07-241280174.1 KB

Create

Service Token

post/v3/configs/config/tokens

Request body

projectstring required

Unique identifier for the project object.

configstring required

Name of the config object.

namestring required

Name of the service token.

expire_atstring date-time

Unix timestamp of when token should expire.

access'read' | 'read/write'

Token's capabilities.

Response

200

Example response

{
  "token": {
    "name": "AWS Lambda",
    "slug": "56c69f96-3045-11ea-978f-2e728ce88125",
    "created_at": "2019-11-19T07:19:01.073Z",
    "key": "dp.st.gJ23agW5s09x4TKLMJMc4OPIr9fCm3bIs0QAC2L5",
    "config": "dev",
    "environment": "dev",
    "project": "ed0c2a68b6t",
    "access": "read"
  }
}