DELETE
/
api
/
workers
/
{id}
import BrainbaseLabs from 'brainbase-labs';

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

async function main() {
  await client.workers.delete('id');
}

main();

Authorizations

x-api-key
string
header
required

API key authentication

Path Parameters

id
string
required

Response

204

Worker deleted