raw
nctl raw
Raw Command
The raw
command allows querying Nirmata REST API endpoints. The path must start with one of /cluster/api
, /environments/api
, /catalog/api
, /security/api
, /users/api
, /config/api
, and /policies/api
.
nctl raw <path> [flags]
Command Options
Flags | Shorthand | Description |
---|---|---|
--help |
-h |
help for raw |
--data <string> |
-d |
JSON data string |
--file <string> |
-f |
JSON data file |
--method <string> |
-m |
the HTTP method (default “GET”) |
--insecure |
allow connection to an address with a self-signed or non-verifiable certificate (not recommended) | |
--token <string> |
Nirmata API Key (env NIRMATA_TOKEN) | |
--url <string> |
Nirmata server base URL (env NIRMATA_URL) |