GET Tenants({id})/DeliveryGroups/TenantSubscriptionCounts

Get the number of subscriptions belonging to the specified tenant, which are associated with each of the delivery groups that are in use by the tenant. This includes shared delivery groups which the tenant's users have access to.

This differs from GET Tenants({id})/DeliveryGroups/SubscriptionCounts in that this API returns only information about the given tenant, while the other API returns information about all tenants using the delivery groups.

Request Information

Parameters

NameDescriptionAdditional information
id

ID of the tenant.

Type:

Response Information

A list of reference counts for each of the delivery groups in use by the tenant.

Response type

CollectionResultModel<ReferenceCountModel>

Response body formats

application/json, text/json

Sample:
{
  "Href": "[api:Tenants(91ade655-feb5-47d3-9585-a5827ad50132)/DeliveryGroups/TenantSubscriptionCounts]",
  "Count": 1,
  "TotalMatchingFilter": 1,
  "Items": [
    {
      "Id": "c004375e-a96d-4368-96ba-c80702d7e80f",
      "Name": "dg1",
      "Count": 1
    }
  ]
}