Delete an agent
client.agents.delete(stringid, AgentDeleteParams { workspaceId } params, RequestOptionsoptions?): void
DELETE/v1/workspaces/{workspaceId}/agents/{id}
Delete an agent
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.agents.delete('id', { workspaceId: 'workspaceId' });