REST Example: Deleting an Instrument Identifier Using the REST API

Light Dark
Request
1
{}
Response 204
1
No
Response 409
1234567891011
{"_links": {         "paymentInstruments": {             "href": "https://apitest.cybersource.com/tms/v1/instrumentidentifiers/CD776F4472D6AC69E053AF598E0A30F3/paymentinstruments"         }     },     "errors": [         {             "type": "instrumentIdentifierDeletionError",             "message": "Action cannot be performed as the InstrumentIdentifier is associated with one or more PaymentInstruments"         }     ]}
Response 410: Deleting an Instrument Identifier
123456
{"errors": [         {             "type": "notAvailable",             "message": "Token not available"         }     ]}