DELETE
/
api
/
v1
/
eoa-accounts
/
{id}
Delete an EOA account
const url = 'https://api.gnosispay.com/api/v1/eoa-accounts/{id}';
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);
}
{
  "data": {
    "id": "clp3j1f9a0000a1cdh6ezx2qv"
  }
}

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required

The ID of the externally owned account to be deleted.

Response

200
application/json

Successfully deleted the EOA account.

The response is of type object.