CCPA § 1798.105 — Right to delete (California)
const url = 'https://api.ultimateteam.ai/api/v1/export/ccpa-delete';const options = { method: 'POST', headers: {'X-API-Key': '<X-API-Key>', 'Content-Type': 'application/json'}, body: '{"categories":["example"],"scope":"all"}'};
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/ccpa-delete \ --header 'Content-Type: application/json' \ --header 'X-API-Key: <X-API-Key>' \ --data '{ "categories": [ "example" ], "scope": "all" }'Queues a California Consumer Privacy Act deletion request for the authenticated tenant. Accepts either a full deletion (‘all’) or a targeted deletion by data category (‘specific_categories’). Returns 202 Accepted with a job_id. Audit log entries are always retained per legal requirement.
Authorizations
Section titled “Authorizations”Request Bodyrequired
Section titled “Request Bodyrequired”Request body for POST /export/ccpa-delete (CCPA § 1798.105).
Attributes: scope: ‘all’ to delete all personal data, ‘specific_categories’ for a subset. categories: List of category identifiers to delete (required when scope is ‘specific_categories’).
object
Deletion scope: ‘all’ or ‘specific_categories’
Responses
Section titled “ Responses ”Successful Response
Response body for POST /export/ccpa-delete (CCPA § 1798.105).
Attributes: job_id: Unique identifier for the CCPA deletion job (audit trail). scope: Echo of the requested deletion scope. categories: Categories targeted (populated for specific_categories scope). status: ‘accepted’ — deletion is processed asynchronously. message: Human-readable description.
object
Examplegenerated
{ "categories": [ "example" ], "job_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "message": "example", "scope": "example", "status": "example"}Validation Error
object
object
object
Examplegenerated
{ "detail": [ { "ctx": {}, "input": "example", "loc": [ "example" ], "msg": "example", "type": "example" } ]}