metadata
title: Mutations
intro: The mutation type defines GraphQL operations that change data on the server.
redirect_from:
- /v4/mutation
- /v4/reference/mutation
versions:
fpt: '*'
ghec: '*'
ghes: '*'
topics:
- API
autogenerated: graphql
About mutations
Every GraphQL schema has a root type for both queries and mutations. The mutation type defines GraphQL operations that change data on the server. It is analogous to performing HTTP verbs such as POST, PATCH, and DELETE.
For more information, see AUTOTITLE.