Skip to content

CCPA § 1798.105 — Right to delete (California)

POST
/api/v1/export/ccpa-delete
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.

Media typeapplication/json
CCPADeleteRequest

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
categories
Any of:
Array<string>
scope
Scope

Deletion scope: ‘all’ or ‘specific_categories’

string
default: all
Allowed values: all specific_categories

Successful Response

Media typeapplication/json
CCPADeleteResponse

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
categories
Any of:
Array<string>
job_id
required
Job Id
string format: uuid
message
required
Message
string
scope
required
Scope
string
status
required
Status
string
Examplegenerated
{
"categories": [
"example"
],
"job_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0",
"message": "example",
"scope": "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"
}
]
}