Skip to main content
PUT
/
v2
/
access
/
promotions
/
trial-links
/
:trialLinkId
Update trial link
curl --request PUT \
  --url https://api-next.ofauth.com/v2/access/promotions/trial-links/:trialLinkId \
  --header 'Content-Type: application/json' \
  --header 'apiKey: <api-key>' \
  --header 'x-connection-id: <api-key>' \
  --data '
{
  "trialLinkName": "<string>",
  "subscribeDays": 183,
  "subscribeCounts": 2,
  "expiredAt": "<string>"
}
'
{
  "success": true
}

Authorizations

apiKey
string
header
required

Your OFAuth API key for authenticating requests.

x-connection-id
string
header
required

Requires a connection via the x-connection-id header.

Path Parameters

trialLinkId
string | null

Trial link ID

Minimum string length: 1

Body

application/json

New name for trial link

Required string length: 1 - 100
subscribeDays
integer

New trial duration in days

Required range: 1 <= x <= 365
subscribeCounts
integer

New maximum claim count

Required range: x >= 1
expiredAt
string

New expiration date

Response

Successful response

success
boolean
required