Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

GDPR Deletion API

Delete a user’s personal data from Coop. Use this endpoint to fulfill GDPR “right to erasure” requests from EU residents whose data Coop has processed.

Endpoint

POST /api/v1/gdpr/delete

Authentication: X-API-KEY header. See API Keys & Authentication.

Request

{
  "userIds": [{ "id": "user-123", "typeId": "your-user-type-id" }]
}

You can include multiple users in a single request.

Request body fields

FieldTypeRequired?Description
userIdsArrayRequiredOne or more users whose data should be deleted. Minimum 1 entry
userIds[].idStringRequiredYour unique identifier for the user
userIds[].typeIdStringRequiredThe Coop Item Type ID for this user type, as configured in the dashboard

Response

Returns a unique ID for this deletion request, for your records.

{
  "requestId": "deletion-request-uuid"
}

HTTP responses:

StatusMeaning
201 CreatedDeletion request accepted; returns requestId
400 Bad RequestValidation failure; see Errors
401 or 403Authentication failure

Deletion is processed asynchronously. The requestId can be used to correlate this request with any downstream processing or audit logs.

See Errors for the full error response format.

Notes

  • GDPR applies to any organization handling personal data of EU residents, regardless of where the organization is based.
  • Deletion removes the user’s data from Coop’s systems; you are responsible for deletion from your own platform and any other processors you use.