cURL
curl --request DELETE \ --url https://api.privy.io/v1/users/{user_id} \ --header 'Authorization: Basic <encoded-value>' \ --header 'privy-app-id: <privy-app-id>'
"User not found"
Delete a user by user ID.
Basic Auth header with your app ID as the username and your app secret as the password.
ID of your Privy app.
ID of the user.
User successfully deleted.
Was this page helpful?