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

# Delete Rolling Offer Design

> 
Deletes a rolling offer design. 

**Note:** You can't delete an offer design while it's in use by an offer.


```bash Delete Rolling Offer Design theme={"system"}
curl -X DELETE \
  'https://api.appcharge.com/components/v1/offer-design/rolling-offer-design' \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json' \
  -H 'x-publisher-token: <x-publisher-token>'
```

```json Delete Rolling Offer Design theme={"system"}
{
  "id": "694a7c8e87f78fb36a931763",
  "offerUiType": "RollingOffer",
  "name": "Rolling Offer Design",
  "externalId": "rolling-offer-design",
  "backgroundImageUrl": "https://media.appcharge.com/media/65cb7861ec8924a6b69a0f59/background.png",
  "externalBackgroundImageUrl": "https://media.appcharge.com/media/65cb7861ec8924a6b69a0f59/background.png",
  "backgroundColor": "#272727",
  "backgroundOpacity": 80,
  "headerImage": "https://media.appcharge.com/media/65cb7861ec8924a6b69a0f59/header.png",
  "arrowColor": "#ffffff",
  "enableScroll": true,
  "scrollArrowImageUrl": "https://media.appcharge.com/media/6a16acaaca88ed66dca87ea0/17823570__197c6854-d0af-4eba-8364-74bfb3c88e4f",
  "arrowImageUrl": "",
  "borderColor": {
    "colorOne": "#ffffff",
    "colorTwo": "#ffffff",
    "direction": "to right"
  },
  "borderWidth": 2,
  "subRollingOffer": {
    "backgroundImageUrl": "https://media.appcharge.com/media/65cb7861ec8924a6b69a0f59/background.png",
    "collectText": "FREE",
    "lockImageUrl": "https://media.appcharge.com/media/65cb7861ec8924a6b69a0f59/lock.png",
    "backgroundColor": {
      "colorOne": "#ffffff",
      "colorTwo": "#ffffff",
      "gradientDirection": "to right"
    }
  }
}
```

```json 401 theme={"system"}
{
  "message": "Unauthorized"
}
```


## OpenAPI

````yaml openapi-rolling-offer-design.json DELETE /components/v1/offer-design/{externalId}
openapi: 3.0.3
info:
  title: Rolling Offer Designs API
  version: 1.0.0
servers:
  - url: https://api-sandbox.appcharge.com
security: []
tags:
  - name: Offer Designs
paths:
  /components/v1/offer-design/{externalId}:
    parameters:
      - in: path
        name: externalId
        required: true
        schema:
          type: string
        description: Design ID that you defined.
      - name: x-publisher-token
        in: header
        required: true
        description: Publisher token, as displayed in the Publisher Dashboard.
        schema:
          type: string
    delete:
      tags:
        - Offer Designs
      description: Deletes a rolling offer design.
      responses:
        '200':
          description: Rolling offer design deleted successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RollingOffersDesignResponse'
        '401':
          description: Unauthorized. The `x-publisher-token` header is missing or invalid.
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
                    example: Unauthorized
              example:
                message: Unauthorized
        '404':
          description: Offer design not found.
components:
  schemas:
    RollingOffersDesignResponse:
      title: Rolling Offer Design
      type: object
      properties:
        id:
          type: string
          description: Design ID
          example: 694a7c8e87f78fb36a931763
        offerUiType:
          type: string
          enum:
            - RollingOffer
          description: Type of offer design.
          example: RollingOffer
        name:
          type: string
          description: Offer design name.
          example: Rolling Offer Design
        externalId:
          type: string
          description: Design ID that you defined.
          example: rolling-offer-design
        backgroundImageUrl:
          type: string
          format: url
          description: Background image URL for the offer design.
          example: >-
            https://media.appcharge.com/media/65cb7861ec8924a6b69a0f59/background.png
        backgroundColor:
          type: string
          description: Background color of the rolling offer.
          example: '#272727'
        backgroundOpacity:
          type: number
          description: Background opacity value.
          example: 80
        headerImage:
          type: string
          format: url
          description: Header image URL for the rolling offer.
          example: >-
            https://media.appcharge.com/media/65cb7861ec8924a6b69a0f59/header.png
        arrowColor:
          type: string
          description: Color of the arrow in the rolling offer.
          example: '#ffffff'
        enableScroll:
          type: boolean
          description: >-
            Whether scrolling through sub offers is enabled. Scroll arrows
            appear only in the horizontal Rolling Offer layout on desktop. In
            the vertical layout on mobile, players scroll or swipe without
            arrows. When `false`, scrolling is off and `scrollArrowImageUrl` is
            ignored.
          default: false
          example: true
        scrollArrowImageUrl:
          type: string
          format: url
          description: >-
            Image URL for a custom square image with a right-pointing arrow for
            the scroll controls. Appcharge mirrors the image for the opposite
            direction. If omitted, Appcharge uses default scroll arrow icons.
            Only applies when `enableScroll` is `true`.
          example: >-
            https://media.appcharge.com/media/6a16acaaca88ed66dca87ea0/17823570__197c6854-d0af-4eba-8364-74bfb3c88e4f
        arrowImageUrl:
          type: string
          format: url
          description: Image URL for the arrows between sub offers.
          example: https://media.appcharge.com/media/65cb7861ec8924a6b69a0f59/arrow.png
        borderColor:
          $ref: '#/components/schemas/ColorDetails'
        borderWidth:
          type: number
          description: Width of the border in pixels.
          example: 2
        subRollingOffer:
          type: object
          description: Information about the sub rolling offer configuration.
          properties:
            backgroundImageUrl:
              type: string
              description: Background image URL for the sub rolling offer.
              format: url
              example: >-
                https://media.appcharge.com/media/65cb7861ec8924a6b69a0f59/background.png
            collectText:
              type: string
              description: Text displayed for the collect action.
              example: FREE
            lockImageUrl:
              type: string
              format: url
              description: Lock image URL for the sub rolling offer.
              example: >-
                https://media.appcharge.com/media/65cb7861ec8924a6b69a0f59/lock.png
            backgroundColor:
              $ref: '#/components/schemas/BackgroundColorGradient'
            backgroundExternalImageUrl:
              type: string
              format: url
              description: >-
                Original background image URL for the sub rolling offer when an
                external image URL is used.
              example: https://cdn.example.com/assets/background.png
        externalBackgroundImageUrl:
          type: string
          format: url
          description: >-
            Original background image URL for rolling offer backgrounds when an
            external image URL is used.
          example: https://cdn.example.com/assets/background.png
    ColorDetails:
      type: object
      description: Color details returned by offer designs.
      properties:
        colorOne:
          type: string
          description: Primary color.
          example: '#FFFFFF'
        colorTwo:
          type: string
          description: Secondary color.
          example: '#FDFCF9'
        direction:
          type: string
          description: Direction of the color transition.
          example: to right
    BackgroundColorGradient:
      type: object
      description: Border color configuration with gradient support.
      properties:
        colorOne:
          type: string
          description: Primary color for the background.
          example: '#FFFFFF'
        colorTwo:
          type: string
          description: Secondary color for the gradient background.
          example: '#FDFCF9'
        gradientDirection:
          type: string
          enum:
            - to top
            - to bottom
            - to left
            - to right
            - to top left
            - to top right
            - to bottom left
            - to bottom right
          description: Direction of the gradient.
          example: to right

````