Skip to main content
DELETE
Removes the asset register this instance named for the collateral token behind the market. This is a database write: nothing is signed and nothing goes on chain. Only the instance that deployed the market can clear the register. A lender of record is refused with 403 REGISTER_ISSUER_ONLY. The call passes the same on-chain check as Set Market Register. The assignment is stored per collateral token, so clearing it applies to every market this instance deployed on that token. The register loses its imports of those markets and its access to their pledge record, and its webhooks receive no further events for them. Events already queued for the register are still delivered. Clearing a market that names no register changes nothing and answers 200 with register: null.

Path Parameters

string
required
A market this instance deployed, 0x followed by 40 hex characters. Lowercase or correctly checksummed.

Response Fields

The response is the record of Get Market Register, with register reading null.

Error Codes