curl --request DELETE \
  --url https://api.frigade.com/v1/users \
  --header 'Authorization: Bearer <token>'

The users DELETE endpoint is used to hard delete a user and all their affiliated data in Frigade. The action is irreversible.

As this endpoint is destructive, you will need to use the private API key.

Only call this endpoint from your backend code.

Deleting a user by foreignId

curl -i -X DELETE \
   -H "Authorization:Bearer api_private_t3YtBqLJuOeFzIElTYBARERMQljitCgy7mhusWthcEHKCMpEU4LrQmuhd4RRAawi" \
 'https://api.frigade.com/v1/users?foreignId=my-id'