23 lines
717 B
Markdown
23 lines
717 B
Markdown
---
|
|
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](https://spec.graphql.org/June2018/#sec-Type-System) 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](/graphql/guides/forming-calls-with-graphql#about-mutations).
|
|
|
|
<!-- Content after this section is automatically generated -->
|