Skip to main content

Revoke

Revoke a join token, so it admits no agent.

osapi controller join token revoke [flags]

Examples​

osapi controller join token revoke --id 1a2b3c4d

Result​

The command prints:

$ osapi controller join token revoke --id 1a2b3c4d
Join token:
  ID:  1a2b3c4d

With --json, the command prints:

{
"id": "1a2b3c4d"
}

Flags​

FlagDescriptionDefault
--idThe token, as token list shows it (required)

Global flags​

FlagDescriptionDefault
-d, --debugEnable or disable debug mode
-j, --jsonEnable JSON output
-f, --osapi-filePath to config file; without one at the default path, osapi runs on the defaults/etc/osapi/osapi.yaml

Output tells how the result is printed, and what --json gives.