When creating your data regulations with our API, you may wish to name specific sources for a suppress regulation, and specific destinations for a suppress/delete regulation. To do so you must first obtain the source and/or destination IDs.
Retrieve source and destination IDs for your data regulations from your RudderStack dashboard, or by using the /v2/sources and /v2/destinations endpoints:
For the above-mentioned destinations, you can delete a user by specifying the userId in the event. Except for Redis and S3 destinations, you can also specify a custom identifier (optional) in the event in addition to the userId.
Defines the data regulation type. Can be one of suppress, which suppresses incoming user data or suppress_with_delete which suppresses and deletes events from your specified destinations.
Possible Values: suppress, suppress_with_delete
Specify only sourceIds with the ‘suppress’ regulationType. If no sourceIds are specified, RudderStack will suppress data from all sources in the workspace associated with your access token.
Specify only destinationIds with the ‘suppress_with_delete’ regulationType. Otherwise, RudderStack throws an error.
An array of user objects identifying users to be suppressed. The userId field is mandatory for all users. You can pass additional custom identifiers such as email in the users object.
Do not specify both sourceIds and destinationIds in your request body.
cookies, the cookies that are categorized as necessary are stored on your browser as they are as
for the working of basic functionalities of the website. We also use third-party cookies that
analyze and understand how you use this website. These cookies will be stored in your browser
consent. You also have the option to opt-out of these cookies. But opting out of some of these
have an effect on your browsing experience.
Necessary cookies are absolutely essential for the website to function properly. This
category only includes cookies that ensures basic functionalities and security
features of the website. These cookies do not store any personal information.
learn more about cookies and why we use them, visit our cookie
policy. We'll assume you're ok with this, but you can opt-out if you wish Cookie Settings.