> ## Documentation Index
> Fetch the complete documentation index at: https://docs.intellixent.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Delete assistant

> Permanently delete an AI assistant from your account.

Permanently deletes an AI assistant that belongs to the authenticated user. This action cannot be undone.

## Endpoint

`DELETE /user/assistant/{id}`

## Path parameters

<ParamField path="id" type="integer" required>
  Unique identifier of the assistant to delete.
</ParamField>

## Response

<ResponseField name="message" type="string">
  Confirmation that the assistant was deleted.
</ResponseField>

## Example

<CodeGroup>
  ```bash cURL theme={null}
  curl -X DELETE "https://portal.intellixent.ai/api/user/assistant/789" \
    -H "Authorization: Bearer YOUR_API_KEY"
  ```

  ```javascript Node.js theme={null}
  const response = await fetch('https://portal.intellixent.ai/api/user/assistant/789', {
    method: 'DELETE',
    headers: {
      'Authorization': 'Bearer YOUR_API_KEY'
    }
  });

  const data = await response.json();
  console.log(data.message);
  ```
</CodeGroup>

```json 200 Success theme={null}
{
  "message": "Assistant deleted successfully"
}
```

```json 404 Not found theme={null}
{
  "message": "Assistant not found"
}
```

```json 500 Deletion failed theme={null}
{
  "message": "Assistant deletion failed"
}
```

<Warning>
  Deletion is permanent. The assistant and all its configuration are removed and cannot be recovered. If the assistant is assigned to active calls, those calls may be affected.
</Warning>
