Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Create Token

This API is used to create a new token

post
Authorizations
AuthorizationstringRequired

Type 'Bearer ' followed by your JWT token. Example: "Bearer eyJhbGciOi..."

Body
custom_expired_atstringOptional
default_expired_atintegerOptional
namestringRequired
Responses
200

Successful Response

application/json
codeintegerOptionalExample: 200
dataanyOptional
messagestringOptionalExample: Success
post/core/cldkctl/token
POST /core/cldkctl/token HTTP/1.1
Host: ai.cloudeka.id/
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 65

{
  "custom_expired_at": "text",
  "default_expired_at": 1,
  "name": "text"
}
200

Successful Response

{
  "code": 200,
  "data": null,
  "message": "Success"
}

Last updated