DDN CLI: ddn project set-api-access-mode
Set the API access mode for a Project on Hasura DDN.
Synopsis
Set the API access mode for a Project on Hasura DDN
ddn project set-api-access-mode <public|private> [flags]
Examples
# Set the API access mode for the DDN project set in the context as private
ddn project set-api-access-mode private
# Set the API access mode for the DDN project set in the context as public
ddn project set-api-access-mode public
# Set the API access mode for the DDN project 'my-project-123' as private
ddn project set-api-access-mode private --project my-project-123
# Set the API access mode for the DDN project 'my-project-123' as public
ddn project set-api-access-mode public --project my-project-123
Options
--ci Disables the use of context
-c, --context string Name of the context to use. (default <current_context>)
-h, --help help for set-api-access-mode
-p, --project string DDN Project name
Options inherited from parent operations
--log-level string Log level. Can be DEBUG, WARN, INFO, ERROR, or FATAL. (default "INFO")
--no-prompt Do not prompt for required but missing flags
--out string Output format. Can be table, json or yaml. (default "table")
--timeout int Request timeout in seconds [env: HASURA_DDN_TIMEOUT] (default 100)
Parent operation
- ddn project - Manage Hasura DDN Project