## Delete an agent `client.agents.delete(stringid, RequestOptionsoptions?): void` **delete** `/v1/agents/{id}` Deletes an agent from the workspace ### Parameters - `id: string` ### Example ```typescript 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'); ```