---
title: "Edit a free trial link"
method: PUT
path: "/free-trial-links/{uuid}"
---

# Edit a free trial link

`PUT /free-trial-links/{uuid}`

## Request

- Base URL: `https://api.fanvue.com`
- URL: `https://api.fanvue.com/free-trial-links/{uuid}`
- Auth: OAuth 2
  - Authorization code: `https://auth.fanvue.com/oauth2/auth`
  - Token URL: `https://auth.fanvue.com/oauth2/token` scopes: `write:creator`

Edit an existing free trial link's settings. The link keeps its UUID (and shareable URL) and its redemption count; fans already on a trial are unaffected. Omitted fields reset to their unlimited/default state.

## Path parameters

- `uuid` string, uuid, required: Free trial link UUID

## Headers

- `X-Fanvue-API-Version` string, required

## Request body

- object
  - `maxUsages` integer, nullable: Maximum number of fans that can redeem the link. Unlimited when null or omitted.
  - `expiresDays` integer, nullable: Number of days from now until the link expires. Never expires when null or omitted.
  - `name` string, nullable: Creator-facing label used to tell several links apart. Not shown to fans. Unnamed when null or omitted.
  - `trialDurationDays` integer, nullable: Length of the free trial in days. Uses the platform default when null or omitted.

## Response `200`

Free trial link updated successfully

- object
  - `uuid` string, uuid, required: Free trial link UUID
  - `url` string, nullable, required: Shareable URL fans use to redeem the free trial
  - `maxUsages` integer, nullable, required: Maximum number of redemptions (null if unlimited)
  - `name` string, nullable, required: Creator-facing label for the link (null when the link is unnamed)
  - `usedCount` integer, required: Number of times the link has been redeemed
  - `trialDurationDays` integer, nullable, required: Free trial length in days (null when the platform default applies)
  - `expiresAt` string, date-time, nullable, required: When the link expires (null if it never expires)
  - `createdAt` string, date-time, required: When the link was created

## Other responses

- `400`: Bad Request - API version not supported OR validation failed OR invalid UUID
- `401`: Unauthorized Response
- `403`: Unauthorized Response
- `404`: Not Found Response
- `410`: API version no longer supported (sunset)
- `429`: Too many requests - rate limit exceeded

---

[API](https://skmtc.dev/fanvue/apis/fanvue-api.md) - [All operations](https://skmtc.dev/fanvue/apis/fanvue-api/llms.txt) - [OpenAPI document](https://skmtc.dev/fanvue/apis/fanvue-api/revisions/966260af2770?raw)
