# How to Update a Project https://api-docs.lumar.io/docs/graphql/update-project To update a Project, you must use a `updateProject` mutation. You have to provide `projectId` for the Project you want to update and any fields you want to update. See [How to Get Projects](/docs/graphql/get-projects.md) for information on how to retrieve your projects and their ids. Here's an example updating Project's `name`: ```graphql mutation UpdateProject($input: UpdateProjectInput!) { updateProject(input: $input) { project { ...ProjectDetails } } } fragment ProjectDetails on Project { id name # ...other fields you want to retrieve } ``` **Variables:** ```json { "input": { "projectId": "TjAwN1Byb2plY3Q5ODM5", "name": "Updated www.lumar.io Project" } } ``` **Response:** ```json { "data": { "updateProject": { "id": "TjAwN1Byb2plY3Q5ODM5", "name": "Updated www.lumar.io Project" } } } ``` Explore [`UpdateProjectInput`](/docs/schema/inputs/update-project-input.md) to see what fields are available.