GDPR Art. 17 — Right to erasure
const url = 'https://api.ultimateteam.ai/api/v1/export/erase';const options = { method: 'POST', headers: {'X-API-Key': '<X-API-Key>', 'Content-Type': 'application/json'}, body: '{"contact_email":"hello@example.com"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://api.ultimateteam.ai/api/v1/export/erase \ --header 'Content-Type: application/json' \ --header 'X-API-Key: <X-API-Key>' \ --data '{ "contact_email": "hello@example.com" }'Erases personal data for the requesting tenant. If contact_email is provided, only that contact’s records are deleted synchronously. If omitted, a full tenant data deletion is queued for async processing. Audit log entries are always retained per legal requirement.
Authorizations
Section titled “Authorizations”Request Bodyrequired
Section titled “Request Bodyrequired”Request body for POST /export/erase (GDPR Art. 17).
Attributes: contact_email: If provided, only this contact’s data is erased. If omitted, a full tenant data deletion is queued.
Examplegenerated
{ "contact_email": "hello@example.com"}Responses
Section titled “ Responses ”Successful Response
Response body for POST /export/erase (GDPR Art. 17).
Attributes: request_id: Unique identifier for the erasure request (retained in audit log). scope: ‘contact’ or ‘tenant’. contact_email: Echo of the contact email erased (contact scope only). status: ‘accepted’ — deletion is processed asynchronously. message: Human-readable description.
object
Examplegenerated
{ "contact_email": "example", "message": "example", "request_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "scope": "example", "status": "example"}Validation Error
object
object
object
Examplegenerated
{ "detail": [ { "ctx": {}, "input": "example", "loc": [ "example" ], "msg": "example", "type": "example" } ]}