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
Get Service Token Detail
Tujuan
Mendapatkan detail satu service token berdasarkan ID.
URL
GET https://console.gisportal.id/api/v1/service-tokens/{id}
HTTP Method
GET
Request Parameter
| Parameter | Tipe | Keterangan |
|---|---|---|
id |
UUID | ID service 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
}
}
Response Error
HTTP 404:
{
"error": {
"code": "NOT_FOUND",
"message": "Service token not found"
}
}
Contoh Request
curl -s \
https://console.gisportal.id/api/v1/service-tokens/065eb796-ecb5-4d95-b4cd-9ca6244cf13f \
-H "Authorization: Bearer <jwt_token>"
Changelog
| Tanggal | Perubahan |
|---|---|
| 2026-06-23 | Endpoint dibuat |