account groups
Delete group
Permanently deletes an account group. The accounts themselves are not affected.
AuthorizationBearer <token>
API key authentication - use your Zernio API key as a Bearer token
In: header
Path Parameters
groupIdstring
Response Body
application/json
application/json
application/json
import Zernio from '@zernio/node';const zernio = new Zernio({ apiKey: process.env.ZERNIO_API_KEY });const { data } = await zernio.accountGroups.deleteAccountGroup({ path: { groupId: 'group_abc123', },});console.log(data);{
"message": "Account group deleted successfully"
}{
"error": "Unauthorized"
}{
"error": "Not found"
}