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

# Disable Subscription Discount (/api-reference/fansly/subscription-discounts/disable-subscription-discount)

Disable (deactivate) a subscription discount. It can be re-enabled later with the **Enable Subscription Discount** endpoint.

## OpenAPI

````yaml https://app.onlyfansapi.com/scribe-fansly-docs/openapi.yaml post /api/fansly/{fanslyAccount}/subscription-discounts/{discount_id}/disable
openapi: 3.0.3
info:
  title: Fansly API Documentation
  description: ""
  version: 1.0.0
servers:
  - url: https://app.onlyfansapi.com
security:
  - default: []
tags:
  - name: Account
    description: Endpoints for your linked Fansly accounts
  - name: Chat Messages
    description: Endpoints for Fansly chats (messaging groups)
  - name: Chats
    description: Endpoints for Fansly chats (messaging groups)
  - name: Connect Fansly Account
    description: ""
  - name: Earnings
    description: Endpoints for Fansly Earnings — wallets, balances, transactions,
      payouts, and statements.
  - name: Followers
    description: Endpoints for Fansly followers.
  - name: Lists
    description: Endpoints for Fansly subscriber/fan lists (e.g. "VIP", "Spenders").
  - name: Media
    description: Upload media for use in Fansly posts and messages
  - name: Profile Statistics
    description: Endpoints for Fansly Profile Statistics (viewer engagement insights).
  - name: Subscribers
    description: Endpoints for Fansly subscribers and subscription tiers.
  - name: Subscription Discounts
    description: Endpoints for Fansly subscription discounts (shown as "Gift Links"
      in the Fansly Dashboard).
  - name: Top Supporters
    description: Endpoints for the Fansly "Top Supporters" view — see who spends the
      most and what they spend on.
  - name: Tracking Links
    description: Endpoints for Fansly tracking links — per-source attribution links
      (e.g. "Twitter bio", "FYP", "Search").
  - name: Users
    description: APIs for fetching Fansly users
paths:
  /api/fansly/{fanslyAccount}/subscription-discounts/{discount_id}/disable:
    parameters:
      - in: path
        name: fanslyAccount
        description: The Fansly Account ID
        example: fansly_acct_XXXXXXXXXXXXXXX
        required: true
        schema:
          type: string
      - in: path
        name: discount_id
        description: The Fansly subscription discount (gift code) ID.
        example: "927958667997761536"
        required: true
        schema:
          type: string
    post:
      summary: Disable Subscription Discount
      operationId: disableSubscriptionDiscount
      description: Disable (deactivate) a subscription discount. It can be re-enabled
        later with the **Enable Subscription Discount** endpoint.
      parameters: []
      responses:
        "200":
          description: Success
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    id: "900000000000000003"
                    type: 1
                    label: new link
                    planId: "700000000000000010"
                    accountId: "800000000000000001"
                    price: 5000
                    paymentMethodRequired: 0
                    duration: 7
                    maxUses: 100
                    newSubscribersOnly: 1
                    startsAt: 0
                    endsAt: 0
                    status: 2
                  _meta:
                    _credits:
                      used: 1
                      balance: 10055787
                      note: Always
                    _cache:
                      is_cached: false
                      note: Cache disabled for this endpoint
                    _rate_limits:
                      limit_minute: 5000
                      limit_day: null
                      remaining_minute: 4999
                      remaining_day: null
                      notice: We have decided to remove our daily rate limits. Please remove any
                        references to these in your integrations.
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: string
                        example: "900000000000000003"
                      type:
                        type: integer
                        example: 1
                      label:
                        type: string
                        example: new link
                      planId:
                        type: string
                        example: "700000000000000010"
                      accountId:
                        type: string
                        example: "800000000000000001"
                      price:
                        type: integer
                        example: 5000
                      paymentMethodRequired:
                        type: integer
                        example: 0
                      duration:
                        type: integer
                        example: 7
                      maxUses:
                        type: integer
                        example: 100
                      newSubscribersOnly:
                        type: integer
                        example: 1
                      startsAt:
                        type: integer
                        example: 0
                      endsAt:
                        type: integer
                        example: 0
                      status:
                        type: integer
                        example: 2
                  _meta:
                    type: object
                    properties:
                      _credits:
                        type: object
                        properties:
                          used:
                            type: integer
                            example: 1
                          balance:
                            type: integer
                            example: 10055787
                          note:
                            type: string
                            example: Always
                      _cache:
                        type: object
                        properties:
                          is_cached:
                            type: boolean
                            example: false
                          note:
                            type: string
                            example: Cache disabled for this endpoint
                      _rate_limits:
                        type: object
                        properties:
                          limit_minute:
                            type: integer
                            example: 5000
                          limit_day:
                            type: string
                            example: null
                            nullable: true
                          remaining_minute:
                            type: integer
                            example: 4999
                          remaining_day:
                            type: string
                            example: null
                            nullable: true
                          notice:
                            type: string
                            example: We have decided to remove our daily rate limits. Please remove any
                              references to these in your integrations.
      tags:
        - Subscription Discounts
components:
  securitySchemes:
    default:
      type: http
      scheme: bearer
      description: Get your API Key from OnlyFansAPI Console -
        https://app.onlyfansapi.com/api-keys
````