import Nuntly from '@nuntly/sdk';const client = new Nuntly({ apiKey: process.env['NUNTLY_API_KEY'], // This is the default and can be omitted});const apiKey = await client.apiKeys.update('apk_01ka8k8s80gvx9604cn9am5st4');console.log(apiKey.id);
Copy
{ "data": { "id": "<string>" }}
API Keys
Update API Key
Update an API key
PUT
/
api-keys
/
{id}
JavaScript
Copy
import Nuntly from '@nuntly/sdk';const client = new Nuntly({ apiKey: process.env['NUNTLY_API_KEY'], // This is the default and can be omitted});const apiKey = await client.apiKeys.update('apk_01ka8k8s80gvx9604cn9am5st4');console.log(apiKey.id);