Skip to main content
DELETE
/
v2
/
access
/
promotions
/
trial-links
/
share-access
Revoke trial link access
curl --request DELETE \
  --url https://api-next.ofauth.com/v2/access/promotions/trial-links/share-access \
  --header 'Content-Type: application/json' \
  --header 'apiKey: <api-key>' \
  --header 'x-connection-id: <api-key>' \
  --data '
{
  "trialId": 1,
  "userId": 1
}
'
{
  "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.

Body

application/json
trialId
integer
required

Trial ID to share

Required range: x > 0
userId
integer
required

User ID to share with

Required range: x > 0

Response

Successful response

success
boolean
required