POST
/
invoice_groups
/
{invoice_group_id}
/
remove_accounts
curl --request POST \
  --url https://api.togai.com/invoice_groups/{invoice_group_id}/remove_accounts \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "accountIds": [
    "ACC0001",
    "ACC0002"
  ]
}'
{
  "success": true
}

Authorizations

Authorization
string
headerrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

invoice_group_id
string
required

Body

application/json
accountIds
string[]
required

Response

200 - application/json
success
boolean
required