Redact a study (GDPR)
curl --request POST \
--url https://api.partner.cubee.cz/api/v1/studies/{id}/redactusing RestSharp;
var options = new RestClientOptions("https://api.partner.cubee.cz/api/v1/studies/{id}/redact");
var client = new RestClient(options);
var request = new RestRequest("");
var response = await client.PostAsync(request);
Console.WriteLine("{0}", response.Content);
const options = {method: 'POST'};
fetch('https://api.partner.cubee.cz/api/v1/studies/{id}/redact', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.partner.cubee.cz/api/v1/studies/{id}/redact"
response = requests.post(url)
print(response.text)Studies
Redact a study (GDPR)
Erases the personal data of one study (scrubs the personal values — cover label/address, recipient
e-mail, replication payload — out of the stored input/result JSON, nulls the study label and
recipient e-mail, deletes the stored PDF, keeps the de-identified calculation for analytics).
Ownership is the calling API
key’s partner — any study the partner created can be redacted, tagged or not. Passing
externalUserId adds an extra guard: the study must also carry that end-user tag, so an
integration acting on behalf of one end-user cannot erase another’s study by id.
POST
/
api
/
v1
/
studies
/
{id}
/
redact
Redact a study (GDPR)
curl --request POST \
--url https://api.partner.cubee.cz/api/v1/studies/{id}/redactusing RestSharp;
var options = new RestClientOptions("https://api.partner.cubee.cz/api/v1/studies/{id}/redact");
var client = new RestClient(options);
var request = new RestRequest("");
var response = await client.PostAsync(request);
Console.WriteLine("{0}", response.Content);
const options = {method: 'POST'};
fetch('https://api.partner.cubee.cz/api/v1/studies/{id}/redact', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.partner.cubee.cz/api/v1/studies/{id}/redact"
response = requests.post(url)
print(response.text)Was this page helpful?