1. CRX
  2. API reference
  3. Viewers
  4. Remove a viewer

Remove a viewer

DELETE/viewers/{viewer}

Ends a wallet's read access immediately.

Authentication

  • x-crx-address x-crx-ts x-crx-sig
  • x-crx-address x-crx-signer x-crx-ts x-crx-sig

Parameters

NameInTypeDescription
viewer requiredpathstring

The viewer wallet, 0x hex. Not the zero address and not the account wallet.

Responses

204

Viewer removed. Also returned if the wallet held no grant.

400

invalid_signature, viewer_invalid.

code invalid_signature viewer_invalid

401

unauthorized: a header is missing or malformed, x-crx-ts is out of range, the call was already used, the signature does not match, or the caller lacks access.

code unauthorized

403

not_whitelisted: the account is not approved for this call.

code not_whitelisted

408

timeout: no answer within 30 seconds.

code timeout

429

rate_limited: retry after Retry-After seconds.

code rate_limited

HeaderTypeDescription
Retry-Afterinteger

Seconds until the next call is accepted.

ratelimit-limitinteger

Maximum calls in a burst.

ratelimit-remaininginteger

Calls remaining before the limit.

ratelimit-resetinteger

Seconds until the full limit is restored.

ratelimit-refillinteger

Calls restored per minute.

502

upstream: a chain read failed. Retry shortly.

code upstream

503

viewers_unavailable: viewer data is unavailable. Retry later.

code viewers_unavailable