Skip to main content
POST
Step 2 Remove users (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 payload was requested for (1 for Ethereum, 8453 for Base). Defaults to 1. Only used by self-custodial accounts

Required range: x >= 0

Body

application/json

The authorization to remove users from an existing account

Request body of remove-users: the authorization issued by get-remove-users-payload, matching the account kind.

No removedBy is sent: a Turnkey account's remover is the root user whose passkey produced the stamp, and a self-custodial account acts through its wallet.

signedBody
object
required

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

webAuthnStamp
string
required

Cryptographically passkey signed (stamped). For more info, see authentication methods.

Response

Users removed

Response body when users are removed from a Byzantine account

accountId
string<uuid>
required

A UUID string

Example:

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

removedUsers
object[]
required
removedAt
string<date-time>
required

The timestamp of the removal.

removedBy
string<uuid> | null

A UUID string

Example:

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