Hi Team, Currently we're integrating Braze throug...
# support
b
Hi Team, Currently we're integrating Braze through Rudderstack We're at the point where we need to synchronize user deletions between our db and the Braze db. Since the communication between our app and Braze goes through Rudderstack, we'd like to use a Rudderstack endpoint to initiate user deletions. I found this documentation on how to delete users with Rudderstack: https://www.rudderstack.com/docs/api/data-regulation-api/ However, I've tried to use the Rudderstack API endpoint, but I haven't had much luck. The users are not deleted in Braze What is your recommendation? Is it better to use the Braze delete endpoint directly? Are there any best practices on user deletion that I should be aware of? Thank you in advance for your help! Andrei
hi Akhilesh, thank you for your reply. Nope, no error message. And when I query for the regulations, I see them in the list
Copy code
curl --location --request GET 'https://api.rudderstack.com/v2/regulations' \
--header 'Authorization: Bearer xxxxxxxxxxxxxxxxxx'
However, when I check in the Braze dashboard, the user is still there
tried both programmatically and also with curl
Copy code
curl --location --request POST 'https://api.rudderstack.com/v2/regulations' \
--header 'Authorization: Bearer xxxxxxxxxxxxxxxxxxx' \
--header 'Content-Type: application/json' \
--data-raw '{
    "regulationType": "suppress_with_delete",
    "destinationIds": [
        "braze destination id from rudderstack"
    ],
    "users": [
        {
            "userId": "some  random user id"
        }
    ]
}'
q
Hi Andrei The data regulation API is available only for enterprise customers. You would need to upgrade to use this feature. If you will observe the doc, there is a label with this info.
💡 1
✔️ 1
🙏 1
b
thank you for the clarification! is the professional plan an enterprise plan?