tenantMetricsUpdate
Updates the metrics for a tenant. The tenantMetricsUpdate mutation in Bunny's GraphQL API, with its input attributes, return type and an example request.
Scope required: platform:write
For a complete list of input attributes see the TenantMetricsAttributes type
mutation tenantMetricsUpdate ($code: String!, $attributes: TenantMetricsAttributes!) {
tenantMetricsUpdate (code: $code, attributes: $attributes) {
errors
}
}
ArgumentsLink to Arguments section
{
"code": "",
"attributes": {
"lastLogin": "2022-06-01T00:00:00Z",
"userCount": 123,
"utilizationMetrics": "JSON"
}
}
| Name | Type | Description |
|---|---|---|
| code | String | |
| attributes | TenantMetricsAttributes |
ResponseLink to Response section
| Name | Type | Description |
|---|---|---|
| errors | List (String) |