Skip to main content

Revoke

Revoke an admitted machine.

The controller removes the key of the machine. Its responses and its registration stop verifying at once, so a target does not find it.

osapi client admission revoke [flags]

Examples​

osapi client admission revoke --machine-id d530664edc1c431eb5ef1e9dfd6617a5

Permission​

It needs the admission:write permission. osapi token roles get --name <role> shows what a role grants.

Flags​

FlagDescriptionDefault
--machine-idThe machine ID of the node (required)

Global flags​

FlagDescriptionDefault
-d, --debugEnable or disable debug mode
-j, --jsonEnable JSON output
-f, --osapi-filePath to config file/etc/osapi/osapi.yaml
--urlURL the client will connect tohttp://0.0.0.0:8080

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