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:
200dataanyOptional
messagestringOptionalExample:
Successpost/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