Business Messaging Guide v2
Business Messaging
Version 2

Data privacy

Copy link

In compliance with any legal requirements on data privacy, such as GDPR, this API allows you to delete a user and their notifications and log data such as impressions, clicks, and customs through RESTful API.


Delete a user

Copy link

This API deletes a user and the user’s notifications and log data including impressions, clicks, customs.

HTTP Request

Copy link
POST https://api-{application_id}.notifications.sendbird.com/v1/notifications/privacy/gdpr/

Request body

Copy link
RequiredTypeDescription

user_ids

array of strings

Specifies an array of user IDs to delete. This field currently supports only one user.

Response

Copy link

If successful, this request returns the request status in the response body.

{
     "status": "accepted"
}