AAC Docs

aac tenant update

AAC CLI 0.2.8MarkdownDocs 6b7d8268ba78

Update mutable tenant attributes (sparse: only passed flags change).

Synopsis

aac tenant update
  [-h]
  [--profile PROFILE]
  [--admin-url ADMIN_URL]
  [--data-plane-url DATA_PLANE_URL]
  [--output {json,table}]
  --tenant-id TENANT_ID
  [--display-name DISPLAY_NAME]
  [--contact CONTACT]

Arguments

Argument Type Required Default Description
-h, --help flag no — show this help message and exit
--profile value no — Profile to run under (selection: --profile > AAC_PROFILE > reserved baseline main). aac profile list shows what exists.
--admin-url value no — Admin-surface base URL (overrides profile).
--data-plane-url value no — Data-plane-surface base URL (overrides profile).
--output json | table no json Output mode: json (the default) or table.
--tenant-id value yes — The tenant to update (canonical federation identifier, e.g. tnt-550e8400-e29b-41d4-9716-446655440000).
--display-name value no — New display name (1-256 chars).
--contact value no — New operator contact (1-256 chars).

Output

--output json (the default) prints one JSON document to standard output; --output table prints a readable table instead. Progress notes and diagnostics go to standard error, so the JSON stays parseable.

Exit codes

Code Meaning
0 Success.
1 The control plane or the identity provider rejected the request.
2 Usage error: an invalid flag, value or flag combination.
3 A local configuration or state problem: profile, credential file, cached session or agent.
4 Transport failure: an endpoint could not be reached.

Notes

tenant_id itself is IMMUTABLE (it is the federation identifier other tenants verify you under). To replace the tenant-admin key, use aac tenant rotate-admin-key.