Skip to content
Dashboard

Terminate computer

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

Terminate and clean up a computer instance, stopping the session and recording metrics

ParametersExpand Collapse
id: string

Terminate computer

import Lightcone from '@tzafon/lightcone';

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

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