v1

latestOpenAPI 3.0.02026-07-26117198177.4 KB
Accounts

Add or remove accounts

Batch add, update, or remove accounts for the caller workspace. Remove returns 404 when the account id is not found in the workspace.

put/v2/accounts

Request body

Example request

{
  "operations": [
    {
      "action": "add",
      "account": {
        "name": "Treasury wallet",
        "network": "solana",
        "address": "BJE5MMbqXjVwjAF7oxwPYXnTXDyspzZyt4vwenNw5ruG",
        "category": "Multisig",
        "group_ids": [
          "uuid-1"
        ]
      }
    },
    {
      "action": "remove",
      "account": {
        "network": "stellar",
        "address": "GA5ZSEJYB37JRC5AVCIA5MOP4RHTM335X2KGX3IHOJAPP5RE34K4KZVN"
      }
    }
  ]
}

Response

acknowledgedboolean required

Example response

{
  "acknowledged": true
}