Mutations

The mutation type defines GraphQL operations that change data on the server.

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

NameDescription
input (CreateTopicInput!)

Input data for creating the topic.

deleteTopic

Delete an existing topic.

Type: DeleteTopicPayload!

Arguments for deleteTopic

NameDescription
input (DeleteTopicInput!)

Input data for deleting the topic.

updateTopic

Update an existing topic.

Type: UpdateTopicPayload!

Arguments for updateTopic

NameDescription
input (UpdateTopicInput!)

Input data for updating an existing topic.