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

Authenticate Token

This API is used to authenticate token

post
Body
tokenstringOptional
Responses
200

Successful Response

application/json
codeintegerOptionalExample: 200
messagestringOptionalExample: Success
post/core/cldkctl/auth
POST /core/cldkctl/auth HTTP/1.1
Host: ai.cloudeka.id/
Content-Type: application/json
Accept: */*
Content-Length: 16

{
  "token": "text"
}
200

Successful Response

{
  "code": 200,
  "data": {
    "cid": "text",
    "email": "text",
    "enforce_password": true,
    "is_creator": true,
    "is_mfa_active": true,
    "menu_roles": [
      {
        "children": [
          "[Circular Reference]"
        ],
        "icon": "text",
        "link": "text",
        "previlage": "text",
        "privilage_name": "text",
        "text": "text",
        "type": "text"
      }
    ],
    "need_create_organization": true,
    "need_create_project": true,
    "need_validate": true,
    "organization_role_id": {
      "created_at": "text",
      "deleted_at": "text",
      "description": "text",
      "id": 1,
      "is_default": true,
      "name": "text",
      "organization_id": "text",
      "privilages": [
        {
          "disable": true,
          "editor": true,
          "name": "text",
          "suspend": true,
          "terminated": true,
          "viewer": true
        }
      ],
      "updated_at": "text"
    },
    "role": "text",
    "superadmin_privileges": {
      "created_at": "text",
      "default": true,
      "desc": "text",
      "id": "text",
      "name": "text",
      "privileges": [
        {
          "name": "text",
          "role": "text",
          "types": [
            "text"
          ]
        }
      ],
      "spesific_org": "text",
      "usages": 1
    },
    "token": "text",
    "token_change_password": "text",
    "type": "text",
    "user_id": "text",
    "user_type": "text",
    "validate_reason": 1
  },
  "message": "Success"
}

Last updated