> ## Documentation Index
> Fetch the complete documentation index at: https://www.plain.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# dismissGeneratedReply

> Dismiss a suggested reply so teammates no longer see it. Use this when a suggestion is wrong, out of date, or was already sent by hand. Dismissing an already dismissed reply has no effect. A new suggested reply can still be added for the same message. Requires the `generatedReply:edit` permission.



**mutation** `dismissGeneratedReply(input: DismissGeneratedReplyInput!): DismissGeneratedReplyOutput!`

## Arguments

**`input`**: `DismissGeneratedReplyInput!` (required)

## Returns

`DismissGeneratedReplyOutput!`

**`generatedReply`**: `GeneratedReply`

---

**`error`**: `MutationError`

## Examples

```graphql Mutation
mutation DismissGeneratedReply($input: DismissGeneratedReplyInput!) {
  dismissGeneratedReply(input: $input) {
    generatedReply {
      id
      markdown
      timelineEntryId
      text
      createdAt {
        unixTimestamp
        iso8601
      }
      createdBy {
        __typename
        ... on UserActor {
          __typename
        }
      }
    }
    error {
      message
      type
      code
      fields {
        field
        message
        type
      }
    }
  }
}
```

```json Variables
{
  "input": {
    "generatedReplyId": "id"
  }
}
```

```json Response
{
  "data": {
    "dismissGeneratedReply": {
      "generatedReply": {
        "id": "id",
        "markdown": "string",
        "timelineEntryId": "id",
        "text": "string",
        "createdAt": {
          "unixTimestamp": "string",
          "iso8601": "string"
        },
        "createdBy": {
          "__typename": "UserActor"
        }
      },
      "error": {
        "message": "string",
        "type": "VALIDATION",
        "code": "string",
        "fields": [
          {
            "field": "string",
            "message": "string",
            "type": "VALIDATION"
          }
        ]
      }
    }
  }
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.