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.
 
 
 
 
 
 

943 B

Get Expired Tokens

Tujuan

Mendapatkan semua service token yang sudah melewati expires_at.

URL

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

HTTP Method

GET

Response Success

HTTP 200

{
    "data": [
        {
            "id": "aabbccdd-1234-5678-abcd-ef1234567890",
            "name": "OldToken-Staging",
            "service": "GeoNetAgent",
            "token_prefix": "AbCdEfGh12345678",
            "is_active": false,
            "expires_at": "2026-01-01T00:00:00+07:00",
            "created_by": "admin",
            "created_at": "2025-12-01T09:00:00+07:00",
            "last_used_at": "2025-12-31T23:59:00+07:00"
        }
    ]
}

Contoh Request

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

Changelog

Tanggal Perubahan
2026-06-23 Endpoint dibuat