Get platform PII partition statistics.
GET
/api/admin/platform/settings/pii-partitions/stats
Code sample: Shell / cURL
curl --request GET \ --url https://auth.example.com/api/admin/platform/settings/pii-partitions/stats \ --header 'Authorization: Bearer <token>'Returns active identity account counts by PII partition. When tenant_id is provided the query is scoped to that tenant; otherwise platform scope aggregates active users across tenants.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Query Parameters
Section titled “Query Parameters ” tenant_id
string
Optional tenant id to scope partition counts.
Responses
Section titled “ Responses ”PII partition statistics response.
Media type application/json
object
total
required
integer
byPartition
required
object
key
additional properties
integer
availablePartitions
required
Array<string>
tenantId
required
string
note
string
key
additional properties
Example
{ "total": 42, "byPartition": { "default": 30, "eu": 12 }, "availablePartitions": [ "default", "eu" ], "tenantId": "all"}Error response.
Media type application/json
object
error
string
message
string
error_description
string
key
additional properties
Example generated
{ "error": "example", "message": "example", "error_description": "example"}Error response.
Media type application/json
object
error
string
message
string
error_description
string
key
additional properties
Example generated
{ "error": "example", "message": "example", "error_description": "example"}