当前为2.0版本。官方API后端仅供内部使用!©2026 P.C.T.G All Rights Reserved.
Authorization: Bearer ********************
{ "identifiers": [ "id:1", "sha:abcdefghijklmnopqrstuvwxyz1234567890", "my-raw-token" ] }
curl --location 'http://127.0.0.1:8000/api/admin/tokens/delete' \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "identifiers": [ "id:1", "sha:abcdefghijklmnopqrstuvwxyz1234567890", "my-raw-token" ] }'
{ "code": 200, "status": "success", "total": 1, "results": [ { "identifier": "id:1", "deleted": 1 }, { "identifier": "sha:abcdefghijklmnopqrstuvwxyz1234567890", "deleted": 0 }, { "identifier": "my-raw-token", "deleted": 0 } ] }