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

Login

This API is used to login

post
Body
captchastringOptional
captcha_idstringOptional
cidstringOptional
emailstringRequired
external_subdomainstringOptional
passwordstringRequired
Responses
200

Successful Response

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

{
  "captcha": "text",
  "captcha_id": "text",
  "cid": "text",
  "email": "text",
  "external_subdomain": "text",
  "password": "text"
}
{
  "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