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

# Edit an agent

> Updates the agent identified by `agentId`. `firstname`, `lastname` and `email` must be sent on every request, even when unchanged. The agent's password cannot be changed here. Returns `404` if no agent has that ID.

Note the core API updates with `POST`, not `PUT`.



## API Specification

The full API specification for this endpoint is available in the [documentation index](https://developers.cloudtalk.io/llms.txt).


## Related topics

- [Edit note](/api-reference/contacts/edit-note.md)
- [Edit campaign](/api-reference/campaigns/edit-campaign.md)
- [Edit a number](/api-reference/numbers/edit-a-number.md)
