Skip to main content

How to Update a 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 for information on how to retrieve your projects and their ids. Here's an example updating Project's name:

mutation UpdateProject($input: UpdateProjectInput!) {
updateProject(input: $input) {
project {
...ProjectDetails
}
}
}

fragment ProjectDetails on Project {
id
name
# ...other fields you want to retrieve
}

Try in explorer

Explore UpdateProjectInput to see what fields are available.