CounterpartiesRemove an address from a counterparty

Remove an address from a counterparty

Removes the address from the directory. Operations that are already linked are NOT unlinked (at the time of the operation the address belonged to the counterparty; that's a historical fact); new operations with this address will no longer be matched.

curl -X DELETE "https://policy-engine-rest.ezig.workers.dev/api/v1/vaults/demo_vault/counterparties/example_string/addresses/example_string" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_TOKEN"
{
  "deleted": true
}
DELETE
/api/v1/vaults/{code}/counterparties/{id}/addresses/{addrId}
DELETE
Base URLstring

Target server for requests. Edit to use your own host.

Bearer Token
Bearer Tokenstring
Required

Session token. Mobile/services. The web uses a cookie.

Session token. Mobile/services. The web uses a cookie.
API Key (cookie: session_token)
session_tokenstring
Required

API key (sent in cookie)

path
codestring
Required

Unique Vault code (slug)

path
idstring
Required

Counterparty id (cuid)

path
addrIdstring
Required

Address record id (cuid)

Request Preview
Response

Response will appear here after sending the request

Authentication

header
Authorizationstring
Required

Bearer token. Session token. Mobile/services. The web uses a cookie.

path
parameterstring
Required

API Key for authentication. Provide your API key in the cookie.

Path Parameters

codestring
Required

Unique Vault code (slug)

Example:
demo_vault
idstring
Required

Counterparty id (cuid)

addrIdstring
Required

Address record id (cuid)

Responses

deletedboolean
Required