List Keys
Every key on the account, revoked ones included. Returns the prefix, never the hash and never the key. The prefix identifies a key without being one.
GET
/v1/keysEvery key on the account, revoked ones included.
Returns the prefix, never the hash and never the key. The prefix identifies a key without being one.
Response Body
application/json
curl -X GET "https://example.com/v1/keys"[ { "created_at": "2019-08-24T14:15:22Z", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "is_active": true, "key_prefix": "string", "last_used_at": "2019-08-24T14:15:22Z", "name": "string", "rate_limit": 0, "revoked_at": "2019-08-24T14:15:22Z" }]Get Credits GET
Current credit balance, and the plan it belongs to.
Revoke Key DELETE
Revoke one key. Scoped to the caller: a key belonging to someone else is a 404, not a 403, so the id cannot be used to probe for real keys. The key stops working immediately, but its history is kept: a revoked key still appears in this list and in your usage records.