Tenant Calculate Disk Usage for All Tenants


This request calculates the current disk usage of all tenants.

The callRecordingUsage, chatAttachmentUsage, mailAttachmentUsage, totalAttachmentUsage detail fields are only calculated when Xelion is running on a Postgres database

Resource

POST /tenants/calculate_disk_usage

Parameters

None

Payload

None

Response

None

Context

Authorization

Master

Configuration

Multi-tenant

Errors

HTTP code Xelion code Description

400

10063

Not the master tenant.

404

10060

No multi-tenant configuration.

10100

No tenant with the specified ID exists.

Example

Request
POST https://xelion.nl/api/v1/master/tenants/calculate_disk_usage