Typescript
import Nuntly from '@nuntly/sdk'; const client = new Nuntly({ apiKey: 'My API Key', }); const apiKey = await client.apiKeys.delete('ak_pdGukGd4BTmHj8dscBDE5Mc9'); console.log(apiKey.id);
{ "data": { "id": "apk_01jnx372zj49s3zqnn7ew8hzpk", "org_id": "org_01jh6jk82zjq9deye73h0mzcaq", "kind": "api-key" } }
Delete the api key with the given ID
Bearer HTTP authentication. Allowed headers Authorization: Bearer <API_KEY>
The api-key id
A successful response
The response is of type object.
object