API Autogate KEK
  1. Roles
API Autogate KEK
  • API
    • V1
      • Company
        • Create Company
        • Update Company
        • Delete Company
        • Detail Company
        • Paginate Company
        • Dropdown List Company
      • Roles
        • Get Roles With Pagination
          GET
        • Detail Role
          GET
        • Create Role
          POST
        • Update Role
          PUT
        • Delete Role
          DELETE
        • Get Detail Role Permissions
          GET
        • Dropdown List Role
          GET
        • Dropdown List Role Level
          GET
      • Permissions
        • Get Grouped Permissions With Pagination
      • User
        • User Operational Tenant
          • Detail User (Operatioanl) Tenant
          • Update User (Operational) Tenant
          • Create User (Operational) Tenant
          • Get List User
          • Delete User (Operational) Tenant
        • Operational
          • As Super Admin
            • Bulk Create User Operational as Super Admin
            • Update User Operational as Super Admin
          • As Admin
            • Bulk Create User Operational as Admin
            • Update User Operational as Admin
          • Detail User Operational
        • Admin
          • Bulk Create User Admin
          • Update User Admin
          • Detail User Admin
        • Get List User
        • Get Admin Dropdown List
        • Delete User
      • Auth
        • Login
        • [Mobile] Login User Operational
        • Send Url Forgot Password
        • Validate Url From Forgot Password
        • Change password
        • Validate Token and Verify Email
        • Send Url Email Verification
      • Product
        • Create Product
        • Paginate Products
        • Update Product
        • Delete Product
        • Detail Product
      • FAQs
        • Get Detail Group FAQs
        • Create FAQs
        • Get Grouped FAQs
        • Update FAQs
        • Delete FAQs
        • Detail FAQs
      • FAQs Public
        • Get List FAQ
      • Company Employee
        • Create Company Employee
        • Get Company Employee With Pagination
        • Update Company Employee
        • Delete Company Employee
        • Detail Company Employee
      • Lokasi Tujuan
        • Create Lokasi Tujuan
        • Update Lokasi Tujuan
        • Delete Lokasi Tujuan
        • Detail Lokasi Tujuan
        • List Lokasi Tujuan
        • List Lokasi
        • Get Dropdown Lokasi Tujuan Pelabuhan BMS
      • Jenis Lokasi
        • Get All Area
        • Get detail area
      • Contact
        • Get List of Contact
        • Detail Contact
        • Update Contact
      • Common
        • File Upload
          • Upload PDF
          • Upload File
          • Upload PDF or Image
        • Photo Upload
          • Upload Photo
        • Stream File
        • Get File Url
      • Ticket
        • Tenant
          • Without Pabeanan
            • Download Ticket
            • Create Ticket Tenant Without Pabeanan
            • Get Detail Ticket Tenant Without Pabeanan
            • Cancel Ticket Tenant Without Pabeanan
            • Update Ticket Tenant Without Pabeanan
          • With Pabeanan
            • Download Ticket
            • Create Ticket Tenant With Pabeanan
            • Get Detail Ticket Tenant Without Pabeanan
            • Cancel Ticket Tenant Without Pabeanan
            • Update Ticket Tenant With Pabeanan
          • Sarana Niaga
            • Download Detail Ticket
            • Create Ticket Sarana Niaga
            • Get Detail Ticket Sarana Niaga
            • Update Ticket Sarana Niaga
            • Reject Ticket Sarana Niaga
        • Guest
          • Create Guest Ticket
          • Update Guest Ticket
          • Detail Guest Ticket
          • Download Guest Ticket PDF
          • Get Guest Ticket By Access Number
          • Cancel Guest Ticket
          • Approve Guest Ticket
          • Reject Guest Ticket
        • Get Ticket With Pagination
        • Get Ticket By Access Number
      • External
        • Oauth
          • Get Access Token
        • Ticket Tenant
          • Create Tenant/Company Ticket
      • Video Wall
        • Latest Activity
      • Management Gate
        • Lane
          • Update Interven Status
        • Create Gate
        • Update Gate
        • Delete Gate
        • Get Grouped Gates
        • Get Gates By Area
        • Get Detail Gate
        • Get List All Gates
        • Get Lane By Gate
        • Get Detail lane
      • Gate Activities
        • Get With Pagination
        • Gate Check-in (Hardware)
      • Gate In/Out
        • Buffer Zone
          • Get pagination bufferzone
          • Get bufferzone detail by gate activity id
          • Buffer Zone Checkup
      • CEISA
        • Find Ceisa By Id Header
        • Get Pagination
        • Find Ceisa By Id Header And Company
      • PTOSM
        • Find By SPMK Number
      • Dashboard
        • Data Lalu Lintas Kendaraan
        • Data Rata-Rata Waktu Ritase
        • Jumlah Kendaraan Berdasarkan Jenis Lampu & Kendaraan
        • Jumlah Kendaraan Berdasarkan Jenis Dokumen
      • Log Activity
        • Get Log Activity
        • Get Log Activity Detail
      • Report
        • Report Bongkar Muat Bufferzone
          • CSV Report Bongkar Muat di Bufferzone
          • Report Bongkar Muat di Bufferzone
          • Detail Report Bongkar Muat Bufferzone
          • Download pdf Report Bongkar Muat Bufferzone
        • Report Tenant
          • Report Tenant Detail
          • PDF List Report Tenant
          • Download pdf Report Tenant Detail
          • CSV Report Tenant
          • Report Tenant
        • Report Bongkar Muat Main
          • Report Bongkar Muat (Main Gate)
          • CSV Report Bongkar Muat (Main Gate)
          • Detail Report Bongkar Muat (Main Gate)
          • Download pdf Report Bongkar Muat (Main Gate)
        • Report Niaga
          • Report Niaga
          • CSV Report Niaga
          • Detail Report Niaga
          • Download pdf Report Niaga
      • Profile
        • Get profile
        • Update profile
        • Update Email
        • Request URL Change Password
        • Change Password
        • Validate Token From URL
      • Load Unload
        • [Mobile] Validate Scan QR
        • [Mobile] Accept Bongkar Muat
        • [Mobile] Reject Bongkar Muat
        • [Mobile] Allowed Out Bongkar Muat
        • [Mobile] Data Status Bongkar Muat
        • [Mobile] Get List Bongkar Muat
        • [Mobile] Get Detail Scan Ceisa Documents
        • [Mobile] Get Detail Scan Ticket Documents
        • [Mobile] Get Detail Scan Spmk Documents
      • Notification
        • List Notification
        • 3 Latest Notification
        • Mark As Read
        • Mark read all
      • TPS Online
        • List TPS Online
        • Detail TPS Online
      • Get detail data verifikasi gate in
        GET
  1. Roles

Get Roles With Pagination

Developing
GET
/v1/iam/roles
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET '/v1/iam/roles?per_page=10&page=1&search&sort=latest&order=&is_active=1'
Response Response Example
Success - With Filter
{
    "message": "Sukses mengambil data role",
    "data": {
        "items": [
            {
                "id": "795d29dc-88bf-433a-8c24-ade10c261c6a",
                "name": "staff eksternal",
                "key": "staff_eksternal",
                "is_active": true,
                "is_for_all_company": true,
                "role_level": {
                    "id": "6e2309cd-520d-4c53-aa17-20a98c520619",
                    "name": "Super Admin"
                },
                "created_at": "2025-05-19T16:33:26.075Z",
                "updated_at": "2025-05-19T16:33:26.075Z"
            },
            {
                "id": "f744a6b2-a91a-4b0e-a0b4-7b18c2c18a21",
                "name": "HSSE",
                "key": "hsse",
                "is_active": true,
                "is_for_all_company": true,
                "role_level": {
                    "id": "b4ec6d45-d0e8-4204-84ce-e2017fe62730",
                    "name": "Operation"
                },
                "created_at": "2025-05-18T11:11:23.471Z",
                "updated_at": "2025-05-18T11:11:23.471Z"
            },
            {
                "id": "4f8eb650-df26-46af-87d4-b357c62fe230",
                "name": "Operasional Tenan",
                "key": "operasional_tenan",
                "is_active": true,
                "is_for_all_company": true,
                "role_level": {
                    "id": "b4ec6d45-d0e8-4204-84ce-e2017fe62730",
                    "name": "Operation"
                },
                "created_at": "2025-05-18T11:11:23.452Z",
                "updated_at": "2025-05-18T11:11:23.452Z"
            },
            {
                "id": "315fdf3a-d4b6-494c-b5cf-bff270b99a25",
                "name": "Operasional Customer",
                "key": "operasional_customer",
                "is_active": true,
                "is_for_all_company": true,
                "role_level": {
                    "id": "b4ec6d45-d0e8-4204-84ce-e2017fe62730",
                    "name": "Operation"
                },
                "created_at": "2025-05-18T11:11:23.436Z",
                "updated_at": "2025-05-18T11:11:23.436Z"
            },
            {
                "id": "697c4d60-9c3b-4f38-a6af-9126ab4716f6",
                "name": "Operasional BC",
                "key": "operasional_bc",
                "is_active": true,
                "is_for_all_company": true,
                "role_level": {
                    "id": "b4ec6d45-d0e8-4204-84ce-e2017fe62730",
                    "name": "Operation"
                },
                "created_at": "2025-05-18T11:11:23.419Z",
                "updated_at": "2025-05-18T11:11:23.419Z"
            },
            {
                "id": "c3c5aa7d-50c6-4f20-a819-974d171a818f",
                "name": "Operasional KEK",
                "key": "operasional_kek",
                "is_active": true,
                "is_for_all_company": true,
                "role_level": {
                    "id": "b4ec6d45-d0e8-4204-84ce-e2017fe62730",
                    "name": "Operation"
                },
                "created_at": "2025-05-18T11:11:23.403Z",
                "updated_at": "2025-05-18T11:11:23.403Z"
            },
            {
                "id": "9a662574-df7f-4597-b095-95d186eaea5b",
                "name": "Operasional BMS",
                "key": "operasional_bms",
                "is_active": true,
                "is_for_all_company": true,
                "role_level": {
                    "id": "b4ec6d45-d0e8-4204-84ce-e2017fe62730",
                    "name": "Operation"
                },
                "created_at": "2025-05-18T11:11:23.385Z",
                "updated_at": "2025-05-18T11:11:23.385Z"
            },
            {
                "id": "faa1a59a-d109-4617-87f3-40673c88e041",
                "name": "Operasional BKMS",
                "key": "operasional_bkms",
                "is_active": true,
                "is_for_all_company": true,
                "role_level": {
                    "id": "b4ec6d45-d0e8-4204-84ce-e2017fe62730",
                    "name": "Operation"
                },
                "created_at": "2025-05-18T11:11:23.368Z",
                "updated_at": "2025-05-18T11:11:23.368Z"
            },
            {
                "id": "a5880c33-4154-42a3-9dc4-8eb000186070",
                "name": "Administrator Tenan",
                "key": "administrator_tenan",
                "is_active": true,
                "is_for_all_company": true,
                "role_level": {
                    "id": "f6cbbdc7-6cbe-43c9-965a-d4d888987fa2",
                    "name": "Admin"
                },
                "created_at": "2025-05-18T11:11:23.350Z",
                "updated_at": "2025-05-18T11:11:23.350Z"
            },
            {
                "id": "591a8e34-6696-4b9d-b9c6-deb65a1af8fd",
                "name": "Administrator Customer",
                "key": "administrator_customer",
                "is_active": true,
                "is_for_all_company": true,
                "role_level": {
                    "id": "f6cbbdc7-6cbe-43c9-965a-d4d888987fa2",
                    "name": "Admin"
                },
                "created_at": "2025-05-18T11:11:23.333Z",
                "updated_at": "2025-05-18T11:11:23.333Z"
            }
        ],
        "meta": {
            "page": 1,
            "total": 18,
            "per_page": 10,
            "total_page": 2
        }
    }
}

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Query Params
per_page
string 
optional
Example:
10
page
string 
optional
Example:
1
search
string 
optional
sort
string 
optional
Example:
latest
order
string 
optional
is_active
integer 
optional
Example:
1

Responses

🟢200Success
application/json
Body
message
string 
required
data
object 
required
items
array [object {8}] 
required
meta
object 
required
Modified at 2025-05-17 17:52:49
Previous
Dropdown List Company
Next
Detail Role
Built with