Skip to content

GDPR Art. 16 — Right to rectification

PUT
/api/v1/export/rectify
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.

Media typeapplication/json
RectifyRequest

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
corrected_value
required
Corrected Value

The correct replacement value

string
current_value
required
Current Value

The inaccurate value currently stored

string
field_name
required
Field Name

Name of the field containing inaccurate data

string
Allowed values: name email phone company_name industry website

Successful Response

Media typeapplication/json
RectifyResponse

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
field_name
required
Field Name
string
job_id
required
Job Id
string format: uuid
message
required
Message
string
status
required
Status
string
Examplegenerated
{
"field_name": "example",
"job_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0",
"message": "example",
"status": "example"
}

Validation Error

Media typeapplication/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationError
object
ctx
Context
object
input
Input
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
Examplegenerated
{
"detail": [
{
"ctx": {},
"input": "example",
"loc": [
"example"
],
"msg": "example",
"type": "example"
}
]
}