# Delete an agent

> DELETE /agents/{id}. HeyRik API parameters and documented request and response examples.

Source: https://www.heyrik.com/docs/api-reference/agents/delete-agents-id-delete-an-agent

DELETE https://server.heyrik.com/api/v1/agents/{id}

## Path parameters

- id (required): Replace {id} in the request URL with the value for this resource.

## Headers

Authorization: Bearer $HEYRIK_API_KEY (required). Keep your key on your server.

## Notes

Numbers pointing at this agent stop answering. Reassign them first.

## Request example

```sh
curl -X DELETE https://server.heyrik.com/api/v1/agents/agc_9f2a1c30 \
  -H "Authorization: Bearer $HEYRIK_API_KEY"
```
