Records the users consent with our terms and conditions
Code samples
require 'rest-client' require 'json' headers = { 'Content-Type' => 'application/json' } result = RestClient.post 'https://fusion.oxygenxml.com/api/me/agreeToTerms', params: { }, headers: headers p JSON.parse(result)
import requests
headers = {
'Content-Type': 'application/json'
}
r = requests.post('https://fusion.oxygenxml.com/api/me/agreeToTerms', headers = headers)
print(r.json())
POST /api/me/agreeToTerms
Body parameter
{
"agree": true,
"locale": "string"
}