CounterpartyGroupsRemove a counterparty from a group

Remove a counterparty from a group

Gated by the counterparty_group_remove policy. Payments to this counterparty through the group whitelist stop immediately

curl -X DELETE "https://policy-engine-rest.ezig.workers.dev/api/v1/vaults/demo_vault/counterparty-groups/example_string/members/example_string" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_TOKEN"
{
  "removed": true
}
DELETE
/api/v1/vaults/{code}/counterparty-groups/{id}/members/{cpId}
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

Group id (cuid)

path
cpIdstring
Required

Counterparty id

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

Group id (cuid)

cpIdstring
Required

Counterparty id

Responses

removedboolean
Required