The following table lists the properties of an HTTP request that this action supports.
Properties
Optional
Type
Description
action
string
Determines the type of a GDPR request. Acceptable values are access and delete. If set to access, Sendbird server generates a downloadable zip file containing the data of a user specified in the user_id property to comply with GDPR's right of access by the data subject. If set to delete, users specified in the user_ids property are permanently deleted from your Sendbird application to comply with GDPR's right to erasure of the data subject. (Default: delete)
user_id
string
Specifies the unique ID of a user. This property should be specified when the value of the action property is set to access.
user_ids[]
array of strings
Specifies an array of IDs of users. Up to 100 users can be processed at once. This property should be specified when the value of the action property is set to delete.
channel_delete_option
string
Determines the scope of group channels to delete in addition to deleting users specified in the user_ids property. Acceptable values are the following: - do_not_delete (default): the specified users are deleted but the group channels they are in will remain. - 1_on_1: only 1-on-1 group channels the specified users are in will be deleted. (This option can be useful when eliminating spam users) - all: all group channels the specified users are in will be deleted.
* This only works when the value of the action property is set to delete.