In Gainsight PX, how can we delete accounts (shown in the accounts explorer) and users (shown in the audience explorer)? During our initial implementation, some teams added test accounts and fake users to our product product tag. Now we want to remove this data, but there doesn’t appear to be any way to do this in the Gainsight PX UI.
How to delete accounts and users from PX
Best answer by srinivas myakala
Sure
Below are the cURL examples for the same(please replace the {accountId} and {userId} and the API key accordingly)
Generate API key from: https://app.aptrinsic.com/settings/api-keys
Account deletion:
curl --include --request DELETE --header "X-APTRINSIC-API-KEY: API-key" --header "Accept: */*" --header "Connection: keep-alive" --header "Accept-Encoding: gzip, deflate, br" 'https://api.aptrinsic.com/v1/accounts/{accountId}'
User deletion:
curl --include --request DELETE --header "X-APTRINSIC-API-KEY: API-key" --header "Accept: */*" --header "Connection: keep-alive" --header "Accept-Encoding: gzip, deflate, br" 'https://api.aptrinsic.com/v1/users/{userId}'---------------------
Use the corresponding Base URL in the request:

More info in the API docs: https://gainsightpx.docs.apiary.io/#reference
Sign up
If you ever had a profile with us, there's no need to create another one.
Don't worry if your email address has since changed, or you can't remember your login, just let us know at community@gainsight.com and we'll help you get started from where you left.
Else, please continue with the registration below.
Welcome to the Gainsight Community
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.