GDPR Art. 18 — Right to restriction of processing
const url = 'https://api.ultimateteam.ai/api/v1/export/restrict';const options = { method: 'PUT', headers: {'X-API-Key': '<X-API-Key>', 'Content-Type': 'application/json'}, body: '{"reason":"example","restriction_type":"processing"}'};
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/restrict \ --header 'Content-Type: application/json' \ --header 'X-API-Key: <X-API-Key>' \ --data '{ "reason": "example", "restriction_type": "processing" }'Marks the authenticated tenant’s data as restricted for the specified processing type. Restriction flags are stored in tenant settings and enforced by all downstream agents.
Authorizations
Section titled “Authorizations”Request Bodyrequired
Section titled “Request Bodyrequired”Request body for PUT /export/restrict (GDPR Art. 18).
Attributes: restriction_type: Category of processing to restrict. reason: Human-readable justification for the restriction.
object
Reason for requesting the restriction
Type of processing to restrict: ‘processing’, ‘marketing’, or ‘profiling’
Responses
Section titled “ Responses ”Successful Response
Response body for PUT /export/restrict (GDPR Art. 18).
Attributes: request_id: Unique identifier for this restriction request (audit trail). restriction_type: The category of processing now restricted. status: ‘accepted’. message: Human-readable description.
object
Examplegenerated
{ "message": "example", "request_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "restriction_type": "example", "status": "example"}Validation Error
object
object
object
Examplegenerated
{ "detail": [ { "ctx": {}, "input": "example", "loc": [ "example" ], "msg": "example", "type": "example" } ]}