privacy
DELETE
https://lucidace.com /v1/projects/{project_id}/privacy/completion Parameters
project_idstringpathrequiredCode samples
cURL
curl -X DELETE "https://lucidace.com/v1/projects/{project_id}/privacy/completion" \
-H "Authorization: Bearer $LUCIDACE_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
204 No signed completion is sent any more
404
POST
https://lucidace.com /v1/projects/{project_id}/privacy/lookup Parameters
project_idstringpathrequiredRequest body
application/json
emailstringOlder single-email form.
emailVerifiedbooleanemailsstring[]identityLookupIdentityShow child parameters
extstringAlso matched against
$cm_subject_id, then distinct id. canary:<hex> marks Cookie Munch's canary.issstringsubstringMatched against
$cm_subject_id, then distinct id.{
"email": "string",
"emailVerified": true,
"emails": [
"string"
],
"identity": {
"ext": "string",
"iss": "string",
"sub": "string"
}
}Code samples
cURL
curl -X POST "https://lucidace.com/v1/projects/{project_id}/privacy/lookup" \
-H "Authorization: Bearer $LUCIDACE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"email":"string","emailVerified":true,"emails":["string"],"identity":{"ext":"string","iss":"string","sub":"string"}}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
200
subjectId (+ subjectIds when several persons match) and found, or null and no_match. identity.sub and identity.ext are matched against the person property $cm_subject_id (set it with identify(userId, { $cm_subject_id: await CookieMunch.getSubjectId() })), then distinct id, then email (only when emailVerified).Example
{
"status": "string",
"subjectId": "string",
"subjectIds": [
"string"
]
}Schema
statusstringrequiredfound or no_match.subjectIdstringThe (first) matching subject, null when nothing matched.
subjectIdsarrayEvery match, present only when several persons matched (project executor).
400
404
POST
https://lucidace.com /v1/projects/{project_id}/privacy/requests Parameters
project_idstringpathrequiredRequest body
application/json
caseIdstringIdempotency key: the same
caseId + type answers with the same request.executeAfterstringRun a deletion or closure at this time, not now.
subjectIdstringrequiredA user id from a lookup, or the canary's
canary_<hex>.typestringrequiredaccess|export, deletion|erase|erasure, closure, restriction or rectification.{
"caseId": "string",
"executeAfter": "2024-01-01T00:00:00Z",
"subjectId": "string",
"type": "string"
}Code samples
cURL
curl -X POST "https://lucidace.com/v1/projects/{project_id}/privacy/requests" \
-H "Authorization: Bearer $LUCIDACE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"caseId":"string","executeAfter":"2024-01-01T00:00:00Z","subjectId":"string","type":"string"}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
200
{id, type, canonicalType, status, eta?}; a deletion with a future executeAfter is scheduledExample
{
"canonicalType": "string",
"detail": "string",
"eta": "2024-01-01T00:00:00Z",
"id": "string",
"result": {},
"status": "string",
"type": "string"
}Schema
canonicalTypestringaccess, deletion, closure, restriction or rectification (project executor).detailstringetastringWhen a scheduled request runs.
idstringrequiredresultobjectThe export of a completed access request.
statusstringrequiredprocessing, scheduled, completed, rejected, cancelled or no_match.typestringrequiredThe type as opened.
400
404
409
GET
https://lucidace.com /v1/projects/{project_id}/privacy/requests/{id} Parameters
project_idstringpathrequiredidstringpathrequiredCode samples
cURL
curl -X GET "https://lucidace.com/v1/projects/{project_id}/privacy/requests/{id}" \
-H "Authorization: Bearer $LUCIDACE_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200
{id, type, canonicalType, status, detail?, eta?, result?}Same as 200 · POST /v1/projects/{project_id}/privacy/requests
404
POST
https://lucidace.com /v1/projects/{project_id}/privacy/requests/{id}/cancel Parameters
project_idstringpathrequiredidstringpathrequiredCode samples
cURL
curl -X POST "https://lucidace.com/v1/projects/{project_id}/privacy/requests/{id}/cancel" \
-H "Authorization: Bearer $LUCIDACE_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200
cancelled when it had not started, else its current statusSame as 200 · POST /v1/projects/{project_id}/privacy/requests
404
POST
https://lucidace.com /v1/projects/{project_id}/privacy/requests/{id}/run Parameters
project_idstringpathrequiredidstringpathrequiredCode samples
cURL
curl -X POST "https://lucidace.com/v1/projects/{project_id}/privacy/requests/{id}/run" \
-H "Authorization: Bearer $LUCIDACE_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Runs a scheduled erasure whose
executeAfter has passed; otherwise answers as the GET doesSame as 200 · POST /v1/projects/{project_id}/privacy/requests
404
GET
https://lucidace.com /v1/projects/{project_id}/retention Scope settings:readParameters
project_idstringpathrequiredCode samples
cURL
curl -X GET "https://lucidace.com/v1/projects/{project_id}/retention"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200
Example
{
"audit_days": 0,
"export_days": 0,
"person_days": 0
}Schema
audit_daysintegerAudit entries of the project older than this are purged (30 to 3650;
None keeps them).export_daysintegerrequiredDays a finished DSAR export stays downloadable.
person_daysintegerPersons with no event for this many days are deleted (
None keeps them).404
PUT
https://lucidace.com /v1/projects/{project_id}/retention Scope adminParameters
project_idstringpathrequiredRequest body
application/json
audit_daysintegerAudit entries of the project older than this are purged (30 to 3650;
None keeps them).export_daysintegerrequiredDays a finished DSAR export stays downloadable.
person_daysintegerPersons with no event for this many days are deleted (
None keeps them).{
"audit_days": 0,
"export_days": 0,
"person_days": 0
}Code samples
cURL
curl -X PUT "https://lucidace.com/v1/projects/{project_id}/retention" \
-H "Content-Type: application/json" \
-d '{"audit_days":0,"export_days":0,"person_days":0}'TypeScript
Python
Go
PHP
Ruby
Java
Updated