import Runloop from '@runloop/api-client';
const client = new Runloop({
bearerToken: process.env['RUNLOOP_API_KEY'], // This is the default and can be omitted
});
const agent = await client.agents.delete('id');
console.log(agent);
{}
agents
Delete an Agent.
Delete an Agent by its unique identifier. The Agent will be permanently removed.
POST
/
v1
/
agents
/
{id}
/
delete
JavaScript
import Runloop from '@runloop/api-client';
const client = new Runloop({
bearerToken: process.env['RUNLOOP_API_KEY'], // This is the default and can be omitted
});
const agent = await client.agents.delete('id');
console.log(agent);