Skip to main content
POST
Step 1 Get remove users payload (passkey or wallet)

Authorizations

X-Pubkey, X-Timestamp, X-Signature
string
header
required

Headers

X-Pubkey
string
required

Integrator's ECDSA public key (P-256 curve, compressed SEC1 format). Example: 0x038fedef7c12f93bbf342ad8943b7a825a3b41f61c9dc118b2c718efebabbf62fd

X-Timestamp
string
required

Unix timestamp in seconds (UTC). Must be within tolerance window (1 minute) to prevent replay attacks. Example: 1760375826

X-Signature
string
required

ECDSA signature (DER-encoded, hex with 0x prefix). Signs the message: {timestamp}{METHOD}{path_and_query}{json_body}. Example: 0x3045022100...

Query Parameters

chain_id
integer<int32> | null

Chain ID the intent is bound to (1 for Ethereum, 8453 for Base). Defaults to 1. Only used by self-custodial accounts

Required range: x >= 0

Body

application/json

Body to remove users from an existing account

Request body for removing users from a Byzantine account

accountId
string<uuid>
required

A UUID string

Example:

"550e8400-e29b-41d4-a716-446655440000"

userIds
string<uuid>[]
required

The IDs of the users to remove. A root user cannot be removed: demote them first.

A UUID string

Response

Payload to sign

bodyToSign
object | null

The object that needs to be signed by a root user to delete users from a Byzantine account's sub-organization.

typedData
object | null

Self-custodial accounts: the EIP-712 typed data to sign with the account wallet (eth_signTypedData_v4).

issuedAt
integer<int64> | null

Self-custodial accounts: the issuedAt of the typed data (unix seconds), to send back with the wallet signature.

Required range: x >= 0
Example:

1700000000