---
updatedAt: 2026-07-31T14:22:18.000Z
agentTools:
  projectIndex: https://reference.fidel.uk/llms.txt
---

# Deactivate Offer on Card

Removes a card from an offer. The usage count resets to 0 on the removed card.

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "fidel-api",
    "version": "1"
  },
  "servers": [
    {
      "url": "https://api.fidel.uk/v1"
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "apiKey",
        "in": "header",
        "name": "Fidel-Key"
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "paths": {
    "/offers/{offerId}/cards/{cardId}": {
      "delete": {
        "summary": "Deactivate Offer on Card",
        "description": "Removes a card from an offer. The usage count resets to 0 on the removed card.",
        "operationId": "unlink-card-from-offer",
        "parameters": [
          {
            "name": "offerId",
            "in": "path",
            "description": "Id of the Offer.",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "cardId",
            "in": "path",
            "description": "Id of the Card.",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "Content-Type",
            "in": "header",
            "description": "application/json",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Fidel-Key",
            "in": "header",
            "description": "test/live API secret key.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "204",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": ""
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"resource\": \"/v1/offers/cf22478e-c700-4f31-b75b-38016605e2a3/cards/0b0c430d-47bd-450e-8d6a-cc1faf3c36e0\",\n  \"status\": 400,\n  \"error\": {\n    \"code\": \"map-offer\",\n    \"date\": \"2020-10-20T16:25:39.111Z\",\n    \"message\": \"Card not linked to Offer\"\n  },\n  \"execution\": 79.311135\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "resource": {
                      "type": "string",
                      "example": "/v1/offers/cf22478e-c700-4f31-b75b-38016605e2a3/cards/0b0c430d-47bd-450e-8d6a-cc1faf3c36e0"
                    },
                    "status": {
                      "type": "integer",
                      "example": 400,
                      "default": 0
                    },
                    "error": {
                      "type": "object",
                      "properties": {
                        "code": {
                          "type": "string",
                          "example": "map-offer"
                        },
                        "date": {
                          "type": "string",
                          "example": "2020-10-20T16:25:39.111Z"
                        },
                        "message": {
                          "type": "string",
                          "example": "Card not linked to Offer"
                        }
                      }
                    },
                    "execution": {
                      "type": "number",
                      "example": 79.311135,
                      "default": 0
                    }
                  }
                }
              }
            }
          }
        },
        "deprecated": false,
        "x-readme": {
          "code-samples": [
            {
              "language": "curl",
              "code": "curl -X DELETE \\\n  https://api.fidel.uk/v1/offers/cf22478e-c700-4f31-b75b-38016605e2a3/cards/0b0c430d-47bd-450e-8d6a-cc1faf3c36e0 \\\n  -H 'Content-Type: application/json' \\\n  -H 'Fidel-Key: sk_test_50ea90b6-2a3b-4a56-814d-1bc592ba4d63'"
            }
          ],
          "samples-languages": [
            "curl"
          ]
        }
      }
    }
  },
  "x-readme": {
    "headers": [
      {
        "key": "Content-Type",
        "value": "application/json"
      }
    ],
    "explorer-enabled": false,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
```