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

# Delete In-App Message

> Remove an in-app item from a contact's feed

Deletes an in-app message or card. The contact's app stops showing it the next time it fetches the feed, and it no longer counts in the step's stats. Requires the `subscribers:write` scope.

## Request

<ParamField path="messageId" type="string" required>
  Item ID from [List In-App Messages](./list-messages).
</ParamField>

```bash theme={null}
curl -X DELETE "https://api.sequenzy.com/api/v1/in-app/messages/iam_123" \
  --header "Authorization: Bearer $SEQUENZY_API_KEY"
```

<ResponseExample>
  ```json 200 theme={null}
  {
    "success": true,
    "messageId": "iam_123",
    "message": "In-app message deleted."
  }
  ```

  ```json 401 theme={null}
  {
    "error": "Invalid API key"
  }
  ```

  ```json 403 theme={null}
  {
    "error": "API key is missing required scope: subscribers:write"
  }
  ```

  ```json 404 theme={null}
  {
    "error": "In-app message not found."
  }
  ```
</ResponseExample>


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