Kite
API ReferenceAPI keys

Revoke an API key

POST
/api/api-key/{id}/revoke

Authorization

headerx-kite-signature<token>

Base64url Ed25519 signature of timestamp nonce METHOD path?query sha256(body), sent with x-kite-api-key-id, x-kite-timestamp and x-kite-nonce

Path Parameters

id*string
Formatuuid

Response Body

Response for status 200

application/json
  1. response
id*string
Formatuuid
appId*string
Formatuuid
label*string
publicKey*string
scopes*array<>
lastUsedAt*|
Formatdate-time
revokedAt*|
Formatdate-time
expiresAt*|
Formatdate-time
createdAt*string
Formatdate-time
updatedAt*string
Formatdate-time
Example Request
curl -X POST 'https://testnet.usekite.site/api/api-key/497f6eca-6276-4993-bfeb-53cbbbba6f08/revoke'
Example Response200
{  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "appId": "28c365d5-df94-4a54-8217-3ce51d068868",  "label": "string",  "publicKey": "string",  "scopes": [    "Apikey:Write"  ],  "lastUsedAt": "2019-08-24T14:15:22Z",  "revokedAt": "2019-08-24T14:15:22Z",  "expiresAt": "2019-08-24T14:15:22Z",  "createdAt": "2019-08-24T14:15:22Z",  "updatedAt": "2019-08-24T14:15:22Z"}