Mutation
mutation CreatePromptMute($input: CreatePromptMuteInput!) {
createPromptMute(input: $input) {
clientMutationId
errors
promptId
}
}Variables
{
"input": {
"promptId": "id"
}
}Response
{
"data": {
"createPromptMute": {
"clientMutationId": "string",
"errors": [
"string"
],
"promptId": "string"
}
}
}Mutations
createPromptMute
Mute (dismiss) a feed prompt for the current member so it stops appearing in their feed. By default the prompt resurfaces after 30 days; pass isPermanent to dismiss it for good. Idempotent — muting an already-muted prompt succeeds.
MUTATION
createPromptMute(input: CreatePromptMuteInput!): CreatePromptMutePayloadArguments
input
required
Parameters for CreatePromptMute
Returns
clientMutationId
String
A unique identifier for the client performing the mutation.
errors
[String!]!
promptId
String
The sanitized ID of the prompt that was muted.
Mutation
mutation CreatePromptMute($input: CreatePromptMuteInput!) {
createPromptMute(input: $input) {
clientMutationId
errors
promptId
}
}Variables
{
"input": {
"promptId": "id"
}
}Response
{
"data": {
"createPromptMute": {
"clientMutationId": "string",
"errors": [
"string"
],
"promptId": "string"
}
}
}