API Keys

Learn how to create API keys:


Generic information about user

get

Get all issued api keys for user

Authorizations
Responses
200
A successful response.
get
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-06-24T20:43:58.697Z",
      "expiresAt": "2025-06-24T20:43:58.697Z",
      "userId": "acc2e66f-fa31-4e73-9c49-eedee36fcf32",
      "revoked": true,
      "fingerprint": "text"
    }
  ]
}


Revoke an API key

post

Revoke an API key

Authorizations
Path parameters
idanyRequired
Responses
200
A successful response.
post
POST /v1/auth/api_keys/{id}/revoke HTTP/1.1
Host: api.bytenite.com
Authorization: YOUR_API_KEY
Accept: */*
{
  "ok": false,
  "requestId": "xyz-123",
  "message": "Request  failed",
  "error": {
    "code": 404,
    "message": "Not Found",
    "description": "The requested resource was not found"
  }
}

Last updated

Was this helpful?