Skip to content
Get started

Delete an API key

client.apiKeys.delete(stringid, RequestOptionsoptions?): void
DELETE/v1/api_keys/{id}

Deletes an API key from the workspace

ParametersExpand Collapse
id: string

Delete an API key

import Cadenya from '@cadenya/cadenya';

const client = new Cadenya({
  apiKey: process.env['CADENYA_API_KEY'], // This is the default and can be omitted
});

await client.apiKeys.delete('id');
Returns Examples