1
0
mirror of synced 2025-12-19 18:10:59 -05:00
Files
docs/content/graphql/reference/mutations.md

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 -->