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

Role Details

This API is used to get a role details

get
Authorizations
AuthorizationstringRequired

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

Path parameters
role_idstringRequired

Role ID

Responses
200

Successful Response

application/json
codeintegerOptionalExample: 200
messagestringOptionalExample: Success
get/core/user/organization/role/{role_id}
GET /core/user/organization/role/{role_id} HTTP/1.1
Host: ai.cloudeka.id/
Authorization: YOUR_API_KEY
Accept: */*
200

Successful Response

{
  "code": 200,
  "data": {
    "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"
  },
  "message": "Success"
}

Last updated