JavaScript
const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}}; fetch('https://api.valox.co/api/v1/safe/reset', options) .then(res => res.json()) .then(res => console.log(res)) .catch(err => console.error(err));
200
success
{ "message": "Safe account reset successfully"}
Permanently deletes the Safe account for the authenticated user. This operation is irreversible and should be used with caution.
Prerequisites for Safe Reset:
Use Cases:
Important Notes:
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Successfully reset the Safe account
Success message confirming the Safe account was reset
"Safe account reset successfully"