Delete Counterparty
DELETE /api/v1/Counterparties/delete/:counterpartyId
Description
This endpoint is used to delete an existing counterparty.
Headers:
- None
ApiKey:
- No API key required
Content-Type:
-
text/plain
-
application/json
-
text/json
Path Parameters:
counterpartyId: string, required
Query Parameters:
version: string, required
Request Body:
- None
URL:
{{baseUrl API url}}/api/v1/Counterparties/delete/{counterpartyId}
Response:
- A GuidResponse object indicating the deletion was successful.
Error Codes:
-
400: Bad Request
-
404: Resource not found
-
500: Internal server error
Example:
Request:
DELETE /api/v1/Counterparties/delete/1234567890
Content-Type: application/json
Response:
HTTP/1.1 200 OK
{
"id": "1234567890",
"success": true
}
Method: DELETE
/api/v1/Counterparties/delete/:counterpartyId
Headers
| Content-Type | Value |
|---|---|
| Accept | text/plain |
Response: 200
{
"succeeded": "<boolean>",
"message": "<string>",
"errors": [
"<string>",
"<string>"
],
"data": "<uuid>"
}
LANGUAGE
CURL REQUEST
curl --request DELETE \
--url /api/v1/Counterparties/delete/:counterpartyId \
--header 'accept: application/json' \
--header 'content-type: application/json'
RESPONSE
Click Try It! to start a request and see the response here!