API Collection

Ankiren Authorization API

Role-Based Access Control (RBAC) API for Ankiren

Productionhttps://ankiren.comStaginghttps://staging.ankiren.comUAThttps://uat.ankiren.com
BASEhttps://ankiren.com

Overview

15 endpoint trong 4 nhóm · OpenAPI 3.0.3 · phiên bản 1.0.0 · spec tại docs/api/authorization-api.yaml.

Roles5 endpoint

Role management operations

Permissions4 endpoint

Permission management operations

Users5 endpoint

User and role assignment operations

Current User1 endpoint

Current authenticated user operations

Authentication

Mọi endpoint đều yêu cầu xác thực.

  • bearerAuthhttp · bearer
    Gửi header Authorization: Bearer <token>.
cURL
curl 'https://ankiren.com/api/admin/roles' \
  -H 'Authorization: Bearer <token>'

Topics

Roles

Role management operations

Permissions

Permission management operations

Users

User and role assignment operations

Current User

Current authenticated user operations