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

# deleteMarketingBanner

> Delete a Marketing Banner.

**Required scope:** `host:write:network_settings`



**mutation** `deleteMarketingBanner(input: DeleteMarketingBannerInput!): DeleteMarketingBannerPayload`

## Arguments

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

Parameters for DeleteMarketingBanner

## Returns

`DeleteMarketingBannerPayload`

**`banner`**: `MarketingBanner`

---

**`clientMutationId`**: `String`

A unique identifier for the client performing the mutation.

---

**`errors`**: `[String!]!`

## Examples

```graphql Mutation
mutation DeleteMarketingBanner($input: DeleteMarketingBannerInput!) {
  deleteMarketingBanner(input: $input) {
    banner {
      buttonText
      buttonUrl
      createdAt
      creator {
        ambassadorLevel
        ambassadorLevelId
        avatarUrl
        badges {
          __typename
        }
        communityRole
        conversations {
          __typename
        }
      }
      descriptionHtml
      endsAt
    }
    clientMutationId
    errors
  }
}
```

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

```json Response
{
  "data": {
    "deleteMarketingBanner": {
      "banner": {
        "buttonText": "string",
        "buttonUrl": "string",
        "createdAt": "value",
        "creator": {
          "ambassadorLevel": "string",
          "ambassadorLevelId": 1,
          "avatarUrl": "string",
          "badges": [
            {
              "__typename": "Badge"
            }
          ],
          "communityRole": "CONTRIBUTOR",
          "conversations": {
            "__typename": "PublicConversationConnection"
          }
        },
        "descriptionHtml": "string",
        "endsAt": "value"
      },
      "clientMutationId": "string",
      "errors": [
        "string"
      ]
    }
  }
}
```


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