Logo
Admin API API Documentation

NEW v1.30.0 Archive Instrument

POST {{URL_ORIGIN}}/api/v2/instruments/:id/archive

This API allows to archive existing instrument which TBD...

Archive Instrument- Error Codes

Code Message
1 Exchange is unavailable
100 Missing or invalid parameter: [FieldName]
101 [FieldName] not found
102 Disable the instrument before attempting to archive it
106 Archiving strategy [parentSymbol] is required
10001 Permission denied

 

Body PARAM

Key Datatype Required Description 



HEADERS

Key Datatype Required Description 




RESPONSES

status OK

{ "id": "694", "data": { "id": "41830" }, "requestType": "ArchiveInstrument", "name": "Archive2", "status": "Pending", "makerUserId": "auth0|6321c771b60c1cf09b026dc0", "makerUserType": "Admin", "timestamp": "2024-05-20T06:24:50.171" }



Curl
curl -X POST 'URL_ORIGIN/api/v2/instruments/:id/archive'

ENDPOINTS