Instrument Record
Release Instrument
Stop standing behind an instrument record
DELETE
/
instruments
/
api
/
{tokenAddress}
curl -X DELETE "https://api.trusset.org/instruments/api/0x9f8c1d4b2e7a3056c1b8f4d29e0a7c3518b6d24f" \
-H "X-API-Key: trusset_your_key_here"
{
"data": {
"released": true,
"instrument": {},
"note": "<string>"
}
}Releases the instrument record your instance asserts. The record stays readable for every lender with its values and their provenance, but no instance stands behind it any more, and your published profile keeps only its overview. The token’s controller can then take it over, through an instance it controls or through the issuer-signed flow.
Only the asserting instance can release, and a release needs no signature.
Path Parameters
string
required
The token contract address.
Response Fields
object
curl -X DELETE "https://api.trusset.org/instruments/api/0x9f8c1d4b2e7a3056c1b8f4d29e0a7c3518b6d24f" \
-H "X-API-Key: trusset_your_key_here"
Error Codes
| Code | HTTP | Cause |
|---|---|---|
INVALID_ADDRESS | 400 | tokenAddress is not a valid address |
NOT_INSTRUMENT_ASSERTER | 403 | Your instance does not assert the record |
INSTRUMENT_NOT_FOUND | 404 | No record exists for the token on this chain |
INSTRUMENT_WRITE_CONFLICT | 409 | Another write landed first. Read the record and retry |
⌘I
curl -X DELETE "https://api.trusset.org/instruments/api/0x9f8c1d4b2e7a3056c1b8f4d29e0a7c3518b6d24f" \
-H "X-API-Key: trusset_your_key_here"
{
"data": {
"released": true,
"instrument": {},
"note": "<string>"
}
}