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 Form calls with GraphQL.
createTopic
Create a new topic on the platform.
Type: CreateTopicPayload!
Arguments for createTopic
| Name | Description |
|---|---|
input (CreateTopicInput!) | Input data for creating the topic. |
deleteTopic
Delete an existing topic.
Type: DeleteTopicPayload!
Arguments for deleteTopic
| Name | Description |
|---|---|
input (DeleteTopicInput!) | Input data for deleting the topic. |
updateTopic
Update an existing topic.
Type: UpdateTopicPayload!
Arguments for updateTopic
| Name | Description |
|---|---|
input (UpdateTopicInput!) | Input data for updating an existing topic. |