Skip to main content
DELETE
/
api
/
v1
/
owners
Remove Safe Owner
const options = {
  method: 'DELETE',
  headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
  body: JSON.stringify({
    ownerToRemove: '0x3270bf32AB647e90eF94A026c70Aa1daaaDA2382',
    signature: '0x1234567890abcdef...',
    message: {
      salt: '0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef',
      data: '0xa9059cbb0000000000000000000000003270bf32ab647e90ef94a026c70aa1daaaada2382'
    },
    smartWalletAddress: '0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef'
  })
};

fetch('https://api.valox.co/api/v1/owners', options)
  .then(res => res.json())
  .then(res => console.log(res))
  .catch(err => console.error(err));
{
  "data": {
    "id": "clp3j1f9a0000a1cdh6ezx2qv",
    "safeAddress": "0x1234567890abcdef1234567890abcdef12345678",
    "transactionData": "0xabcdef",
    "enqueueTaskId": "task_abc123",
    "dispatchTaskId": "task_def456",
    "readyAt": "2025-02-07T12:34:56Z",
    "operationType": "CALL",
    "userId": "user_123",
    "status": "QUEUING",
    "createdAt": "2025-02-07T12:34:56Z"
  }
}

Authorizations

Authorization
string
header
required

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

Body

application/json
ownerToRemove
string
required

The address to remove from Safe owners.

Example:

"0x3270bf32AB647e90eF94A026c70Aa1daaaDA2382"

signature
string
required

The wallet signature authorizing this operation.

Example:

"0x1234567890abcdef..."

message
object
required

The message object containing transaction data and salt.

smartWalletAddress
string

Optional. If using a smart account, the address of the smart wallet to use for the operation.

Example:

"0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef"

Response

Successfully submitted the remove owner request.

data
object
required