Outdated Version

You are viewing an older version of this section. View current production version.

AGENT-UPDATE-API-TOKEN

MemSQL Ops has been deprecated

Please follow this guide to learn how to migrate to SingleStore tools.

Updates the current agent’s API token. If the --api-token <token> argument is specified, the agent’s API token will be updated to the specified value. If no flag is specified, an API token will be automatically generated and applied to the agent configuration.

Usage

usage: memsql-ops agent-update-api-token [--api-token API_TOKEN]

Updates the current agent's API token.

optional arguments:
  --api-token API_TOKEN
                        The API token to assign to the local agent.