graphql-engine/docs/graphql/manual/hasura-cli/hasura_metadata_reload.rst
nizar-m f83a8e591f rename access-key to admin-secret (close #1347) (#1540)
Rename the admin secret key header used to access GraphQL engine from X-Hasura-Access-Key to X-Hasura-Admin-Secret.

Server CLI and console all support the older flag but marks it as deprecated.
2019-02-14 15:07:47 +05:30

49 lines
1010 B
ReStructuredText

.. _hasura_metadata_reload:
Hasura CLI: hasura metadata reload
----------------------------------
Reload Hasura GraphQL Engine metadata on the database
Synopsis
~~~~~~~~
Reload Hasura GraphQL Engine metadata on the database
::
hasura metadata reload [flags]
Examples
~~~~~~~~
::
# Reload all the metadata information from database:
hasura metadata reload
Options
~~~~~~~
::
--admin-secret string admin secret key for Hasura GraphQL Engine
--endpoint string http(s) endpoint for Hasura GraphQL Engine
-h, --help help for reload
Options inherited from parent commands
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
::
--log-level string log level (DEBUG, INFO, WARN, ERROR, FATAL) (default "INFO")
--project string directory where commands are executed. (default: current dir)
SEE ALSO
~~~~~~~~
* :ref:`hasura metadata <hasura_metadata>` - Manage Hasura GraphQL Engine metadata saved in the database
*Auto generated by spf13/cobra*