cURL
curl --request POST \ --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 }
Share trial link access with a user
Permission Required: promotions:write
promotions:write
Your OFAuth API key for authenticating requests.
Requires a connection via the x-connection-id header.
Trial ID to share
x > 0
User ID to share with
Successful response
Was this page helpful?