IAM.Comm: CLI and API
Copy-safe command examples, expected results and recovery rules for IAM.Comm.
Before copying a command
- Copy the block into a local terminal, not a browser address bar.
- Replace values inside
<...>locally. Never commit a token or paste it into chat. - Run the health/read-only command first.
- Add
--verboseonly for local diagnosis and redact authorization headers before sharing output. - Stop after a non-zero exit code; inspect HTTP status before retrying.
Commands
Command 1
curl --fail --silent --show-error https://app.iamcomm.ru/healthz
A successful command exits with code 0. For JSON responses, validate the expected top-level fields before using the result in a script.
If the command failed
| Result | Action |
|---|---|
| DNS/TLS error | Verify the exact production hostname and system time; do not disable certificate verification. |
| 401 | Obtain a new token through the supported identity flow. |
| 403 | Keep the token and request the missing role/scope; generating more tokens will not help. |
| 404 | Compare the path with the installed product version and environment. |
| 409 | Query the existing object before issuing another create request. |
| 429 | Respect Retry-After and use bounded exponential backoff with jitter. |
| 5xx/timeout | Retry only an idempotent request and preserve its request ID. |