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.
1.1 KiB
1.1 KiB
List Service Tokens
Tujuan
Mendapatkan daftar semua service tokens (aktif, revoked, dan expired).
URL
GET https://console.gisportal.id/api/v1/service-tokens
HTTP Method
GET
Authentication
Authorization: Bearer <jwt_token_atau_api_token>
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,
"is_expired": false
}
]
}
Catatan: Field
token(plain text) tidak tersedia di endpoint ini. Token plain hanya tersedia saat create/regenerate.
Contoh Request
curl -s https://console.gisportal.id/api/v1/service-tokens \
-H "Authorization: Bearer <jwt_token>"
Changelog
| Tanggal | Perubahan |
|---|---|
| 2026-06-23 | Endpoint dibuat |