Skip to main content

Delete Account Group

Delete an account group. Signals that name it stop resolving to its accounts.

Elite

The Management API requires an Elite subscription. See Authentication.

Endpoint​

DELETE https://app.crosstrade.io/v1/api/manage/account-groups/{id}

Headers​

NameRequiredValue
AuthorizationYesBearer <your API token>
If-MatchNoETag from a previous read. The request fails with 412 if the group changed since then

Path parameters​

NameTypeDescription
idstringThe resource id

Code examples​

import requests

resp = requests.delete(
"https://app.crosstrade.io/v1/api/manage/account-groups/acctgrp_Xy12ab34Cd56ef78",
headers={"Authorization": "Bearer YOUR_TOKEN"},
)
print(resp.status_code, resp.json())

Responses​

{
"success": true,
"changed": true,
"changedFields": [
"accounts",
"destination",
"id",
"name"
],
"delivery": {
"status": "immediate",
"target": "signal_gate"
},
"warnings": [],
"meta": {
"requestId": "req_9f2c1a0b7d3e4f51"
}
}

When it takes effect​

The next incoming webhook signal.