Last updated 11 days ago
Was this helpful?
Learn how to create API keys:
Revoke an API key
POST /v1/auth/api_keys/{id}/revoke HTTP/1.1 Host: api.bytenite.com Authorization: YOUR_API_KEY Accept: */*
A successful response.
{ "ok": true, "requestId": "text", "message": "text", "error": { "code": 1, "message": "text", "description": "text" } }
Get all issued api keys for user
GET /v1/auth/api_keys HTTP/1.1 Host: api.bytenite.com Authorization: YOUR_API_KEY Accept: */*
{ "apiKeys": [ { "id": "acc2e66f-fa31-4e73-9c49-eedee36fcf32", "name": "My API key", "issuedAt": "2025-05-09T13:49:10.484Z", "expiresAt": "2025-05-09T13:49:10.484Z", "userId": "acc2e66f-fa31-4e73-9c49-eedee36fcf32", "revoked": true, "fingerprint": "text" } ] }