Retrieve the list of billable users for a specific Petra tenant. A user is considered billable if they have non-empty assignedLicenseSkuIds and are not deleted (deletedAt is null).
Documentation Index
Fetch the complete documentation index at: https://docs.petrasecurity.com/docs/llms.txt
Use this file to discover all available pages before exploring further.
Bearer token authentication. Include your API key in the Authorization header as 'Bearer YOUR_API_KEY'
The Petra tenant ID to get billable users for. The endpoint verifies that the requested tenant belongs to the organization associated with the API key.
Successful response
The Petra tenant ID
The display name of the tenant
The Microsoft tenant ID associated with this Petra tenant
ISO 8601 timestamp indicating when this report was generated
The total count of billable users in the tenant
The prorated number of billable units for this tenant in the current month. This value accounts for mid-month onboarding and is the number used for billing.
Array of billable user objects