User Delete

POST https://{{instance_url}}/users/delete

This endpoint allows you to delete any user profile by specifying a known user identifier. Up to 50 external_ids, user_aliases, or braze_ids can be included in a single request. Only one of external_ids, user_aliases, or braze_ids can be included in a single request.

Deleting user profiles CANNOT be undone. It will PERMANENTLY remove users which may cause discrepancies in your data. Learn more about what happens when you delete a user profile via API in our Help documentation.

Request Parameter

ParameterRequiredData TypeDescription
external_idsOptionalArray of stringsExternal identifiers for the users to delete
user_aliasesOptionalArray of user alias oblectUser aliases for the users to delete
braze_idsOptionalArray of stringsBraze user identifiers for the users to delete

Request Components

Request Body

{"external_ids"=>["external_identifier1", "external_identifier2"], "user_aliases"=>["user_alias1", "user_alias2"], "braze_ids"=>["braze_identifier1", "braze_identifier2"]}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Authorizationstring