GeoNetAgent, LDAPWeb, server-audit, server-connection
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

895 B

Get Active Tokens

Tujuan

Mendapatkan semua service token yang aktif dan belum expired.

URL

GET https://console.gisportal.id/api/v1/service-tokens/active

HTTP Method

GET

Response Success

HTTP 200

{
    "data": [
        {
            "id": "065eb796-ecb5-4d95-b4cd-9ca6244cf13f",
            "name": "GeoNetAgent-Production",
            "service": "GeoNetAgent",
            "token_prefix": "Col5FUFl34dVXgyB",
            "is_active": true,
            "expires_at": null,
            "created_by": "admin",
            "created_at": "2026-06-23T08:54:04+07:00",
            "last_used_at": null
        }
    ]
}

Contoh Request

curl -s https://console.gisportal.id/api/v1/service-tokens/active \
  -H "Authorization: Bearer <jwt_token>"

Changelog

Tanggal Perubahan
2026-06-23 Endpoint dibuat