---
title: "Set the leaving date of an entry (from Xbox Wire); null clears it"
method: PUT
path: "/v1/admin/subscriptions/{code}/entries/{productId}"
tags: ["Admin"]
---

# Set the leaving date of an entry (from Xbox Wire); null clears it

`PUT /v1/admin/subscriptions/{code}/entries/{productId}`

## Request

- Base URL: `https://api.fairly.gg`
- URL: `https://api.fairly.gg/v1/admin/subscriptions/{code}/entries/{productId}`
- Auth: API key in header `X-Api-Key`

Requires `region`. Body: `{"leaving_at": "2026-11-30"}` or `{"leaving_at": null}`.

## Path parameters

- `code` string, required
- `productId` integer, required

## Response `200`

OK

---

[API](https://skmtc.dev/fairly/apis/fairly-api.md) · [All operations](https://skmtc.dev/fairly/apis/fairly-api/llms.txt) · [OpenAPI document](https://skmtc.dev/fairly/apis/fairly-api/revisions/9b21c64dffa2?raw)
