Tenant Calculate Disk Usage per Tenant


This request calculates the current disk usage of a single tenant.

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

Resource

POST /tenants/<OID>/calculate_disk_usage

Where OID is the tenant ID (the databaseId field).

Parameters

None

Payload

None

Response

None

Context

Authorization

Master

Configuration

Multi-tenant

Errors

HTTP code Xelion code Description

400

10063

Not the master tenant.

403

10101

Resource not accessable. User is not a master tenant administrator.

404

10060

No multi-tenant configuration.

10100

No tenant with the specified ID exists.

Example

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