Create Account Collection
POST /v1/account/collection
Creates a new account collection for the authenticated tenant, allowing accounts to be grouped and managed under a shared name and purpose. The collection can later be used for filtering, reporting, or applying rules across multiple accounts. The collection name must be unique within the tenant to ensure clear identification and prevent conflicts with existing collections.
Request Body
{
"name": "Premium Customers"
}
Response Example
{
"name": "Premium Customers",
"tenant": "tenant-id-1",
"accountIds": [],
"created": "2025-10-29T12:11:13.361Z",
"updated": "2025-10-29T12:11:13.361Z",
"accounts": [],
"id": "account-collection-id-1"
}