Get Credential Rotation Status
Report convergence of an in-flight or completed site-wide credential
rotation. When deviceMac is set, the counts describe just that device
and a per-device detail block is returned. Equivalent to
nico-admin-cli credential rotation-status.
User must have authorization role with PROVIDER_ADMIN suffix.
Authentication
AuthorizationBearer
```
export JWT_BEARER_TOKEN="<jwt-bearer-token>"
# Example org name: "acme-inc
export ORG_NAME=<org-name>
# Use the JWT bearer token in your API request auth header:
curl -v -X GET -H "Content-Type: application/json" -H "Authorization: Bearer $JWT_BEARER_TOKEN" https://nico-rest-api.nico.svc.cluster.local/v2/org/$ORG_NAME/nico/user/current
```
Path parameters
org
Name of the Org
Query parameters
siteId
ID of the Site to query.
credentialType
Credential family to report.
Allowed values:
deviceMac
Report only this device's convergence, matched by MAC.
Response
Credential rotation status
targetVersion
Current site-wide target version for this family.
converged
Number of devices at or beyond the target version.
pending
Number of devices not yet converged and eligible to rotate.
quarantined
Number of devices currently in a rotation backoff window.
complete
True only when every device in the queried set has reached the target with none pending and none quarantined.
quarantinedDeviceMacs
MAC addresses of the quarantined devices.
started
When the current target version was staged.
device
Per-device convergence detail, returned only for a MAC-targeted status query.
Errors
400
Bad Request Error
403
Forbidden Error
404
Not Found Error