> For the complete documentation index, see [llms.txt](https://docs.platform9.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.platform9.com/managed-kubernetes/5.14/pmk-cli/pmk-cli-commands/cli-auth-node.md).

# CLI Auth Node

The `pf9ctl authorize-node` command authorizes the node on which the command is run. When a node is deauthorized, it is marked as offline until the user re-authorizes it. This works similar to the `authorize node` command located in the UI.

## Syntax Example

{% tabs %}
{% tab title="Bash" %}

```bash
pf9ctl authorize-node
```

{% endtab %}
{% endtabs %}

## All Available Commands and Flags

{% tabs %}
{% tab title="Bash" %}

```bash
# pf9ctl authorize-node --help
Authorizes this node.

Usage:
  pf9ctl authorize-node [flags]

Flags:
  -h, --help         help for authorize-node
      --mfa string   MFA token

Global Flags:
      --no-prompt   disable all user prompts
      --verbose     print verbose logs
```

{% endtab %}
{% endtabs %}

## Command Example

{% tabs %}
{% tab title="Bash" %}

```bash
# pf9ctl authorize-node
 ✓ Loaded Config Successfully
Node authorization started....This may take a few minutes....Check the latest status in UI
```

{% endtab %}
{% endtabs %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.platform9.com/managed-kubernetes/5.14/pmk-cli/pmk-cli-commands/cli-auth-node.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
