GDPR Art. 16 — Right to rectification
const url = 'https://api.ultimateteam.ai/api/v1/export/rectify';const options = { method: 'PUT', headers: {'X-API-Key': '<X-API-Key>', 'Content-Type': 'application/json'}, body: '{"corrected_value":"example","current_value":"example","field_name":"name"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request PUT \ --url https://api.ultimateteam.ai/api/v1/export/rectify \ --header 'Content-Type: application/json' \ --header 'X-API-Key: <X-API-Key>' \ --data '{ "corrected_value": "example", "current_value": "example", "field_name": "name" }'Queues a job to correct inaccurate personal data held for the authenticated tenant. Returns 202 Accepted with a job_id. The rectification is applied asynchronously across all relevant tenant tables.
Authorizations
Section titled “Authorizations”Request Bodyrequired
Section titled “Request Bodyrequired”Request body for PUT /export/rectify (GDPR Art. 16).
Attributes: field_name: The name of the data field to be corrected. current_value: The inaccurate value currently held. corrected_value: The accurate replacement value.
object
The correct replacement value
The inaccurate value currently stored
Name of the field containing inaccurate data
Responses
Section titled “ Responses ”Successful Response
Response body for PUT /export/rectify (GDPR Art. 16).
Attributes: job_id: Unique identifier for the rectification job. field_name: The field being corrected. status: ‘accepted’ — job is queued for async processing. message: Human-readable description.
object
Examplegenerated
{ "field_name": "example", "job_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "message": "example", "status": "example"}Validation Error
object
object
object
Examplegenerated
{ "detail": [ { "ctx": {}, "input": "example", "loc": [ "example" ], "msg": "example", "type": "example" } ]}