Skip to main content
DELETE
/
api
/
v1
/
safe
/
reset
Reset Safe Account
const url = 'https://api.gnosispay.com/api/v1/safe/reset';
const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}, body: undefined};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
{
"message": "Safe account reset successfully"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

Successfully reset the Safe account

message
string

Success message confirming the Safe account was reset

Example:

"Safe account reset successfully"

I