Server APIGDPR
Create GDPR deletion request
Create a GDPR data deletion request for one or more player user IDs. Accepts dashboard cookie auth or an API key (Authorization: Bearer ). Data is deleted within 30 days per SLA.
AuthorizationBearer <token>
Secret server key (prefixed gb_sk_) for server-to-server calls. Send it as Authorization: Bearer <key>. Never ship a secret key in a game client.
In: header
Path Parameters
applicationId*number
Gamebeast project ID
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X POST "https://example.com/application/0/gdpr/deletion-requests" \ -H "Content-Type: application/json" \ -d '{ "userIds": [ "69935436", "51501379" ] }'{ "id": "3f6c1a52-9d3e-4b8e-a1f0-2c7d9e4b5a10", "organizationId": 42, "applicationId": 1337, "userIds": [ "69935436", "51501379" ], "status": "pending", "source": "api", "createdByUserId": null, "createdByApiKeyId": 918, "createdAt": "2026-09-24T17:00:00.000Z", "deadlineAt": "2026-10-24T17:00:00.000Z", "completedAt": null, "failureReason": null}