Regenerate Token
This API is used to regenerate a token
post
Authorizations
AuthorizationstringRequired
Type 'Bearer ' followed by your JWT token. Example: "Bearer eyJhbGciOi..."
Path parameters
token_idstringRequired
Token ID
Body
custom_expired_atstringOptional
default_expired_atintegerOptional
Responses
200
Successful Response
application/json
codeintegerOptionalExample:
200dataanyOptional
messagestringOptionalExample:
Successpost/core/cldkctl/token/regenerate/{token_id}
POST /core/cldkctl/token/regenerate/{token_id} HTTP/1.1
Host: ai.cloudeka.id/
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 51
{
"custom_expired_at": "text",
"default_expired_at": 1
}200
Successful Response
{
"code": 200,
"data": null,
"message": "Success"
}Last updated