> ## Documentation Index
> Fetch the complete documentation index at: https://help.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://help.cloudtalk.io/llms.txt).


## Related topics

- [Access Settings for Call Data](/en/articles/9319155-access-settings-for-call-data.md)
- [Edit your Voice Agent with AI Composer](/en/articles/17335599-edit-your-voice-agent-with-ai-composer.md)
- [Edit note](/api-reference/contacts/edit-note.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.