CorebanqCorebanq Developer Docs
Counterpartiesv1Counterparty Contacts

Delete counterparty contact

Handler: DeleteContact → DeleteContactSrv. Hard-deletes the contact row (physical gorm Delete); 404 when no row matches. Returns 204 on success.

DELETE
/v1/counterparties/contacts/{id}

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

id*string

Contact identifier.

id*string

id path parameter

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X DELETE "https://example.com/v1/counterparties/contacts/string"
Empty
{
  "status": 400,
  "message": "Invalid input"
}
{
  "status": 401,
  "message": "Unauthorized"
}
{
  "status": 403,
  "message": "Forbidden"
}
{
  "status": 404,
  "message": "Not found"
}
{
  "status": 500,
  "message": "server_error"
}