Gravv
/Docs
Search docs or ask a question⌘K
DocsAgent
ChangelogTry sandbox
Settlement instructions Delete a settlement instruction

Delete a settlement instruction

Retires a settlement instruction. You can no longer read or use it, and you cannot restore it. Orders that used it keep its ID. Deleting the default leaves its currency with no default.

DELETEhttps://api.gravv.xyz/v1/settlement-instructions/{id}Try it
Api-Key

Path parameters

NameDescription
id:stringRequired
ID of the settlement instruction

Response

Returns 200 OK. The settlement instruction is deleted

NameDescription
data:object
Show 1 child attributesobject
error:null

Errors

StatusMeaning
200The settlement instruction is deleted
400Invalid request, an unknown or deleted ID, or a failure. Not-found is a 400 here, not a 404.
Was this page helpful? Yes No
Request
cURLJavaScriptPythonGoRubyPHPJavaC#cURL
curl --request DELETE \
--url 'https://api.gravv.xyz/v1/settlement-instructions/b7e1c2d3-4f5a-4b6c-9d8e-7f6a5b4c3d2e' \
--header 'Api-Key: <api-key>'
Responseapplication/json
200400OK
{
"data": {
"status": "deleted"
},
"error": null
}