Count non-compliant personal access tokens
GET/api/v4/users/tokens/non_compliant/count
Count the active personal access tokens that violate the configured ServiceSettings.MaximumPersonalAccessTokenLifetimeDays policy (tokens that never expire or expire beyond the cap). Bot account tokens are exempt and never counted. Returns 0 when no maximum lifetime is configured.
Minimum server version: 11.1
Permissions
Must have manage_system permission.
Responses
- 200
- 401
- 403
Count retrieved successfully
No access token provided
Do not have appropriate permissions