Request an invite
Docs menu

osmates account remove-mac

Remove a Mac from the account, which frees its place for another Mac.

Usage
osmates account remove-mac <mac> [--json]

The Mac signs out the next time it checks the account. Removing this Mac signs it out at once, as osmates account sign-out --remove-this-mac does. A Mac activated without internet can't be removed until its file runs out. When this Mac held none of the account's places, it takes the one freed.

Arguments

<mac>Required

The Mac's name or ID, as osmates account macs lists it.

--json

Print machine-readable JSON.

JSON output

With --json, it prints an object with these fields.

JSON Schema: /schemas/0/cli/account/remove-mac.json

accountobjectRequired
account.accountIDstring
account.availabilitystringRequired

One of notInThisBuild, signedOut, signedIn.

account.emailstring
account.lastConfirmedstring (date-time)
account.macLimitinteger
account.machineIDstring
account.macsInUseinteger
account.manageURLstring (uri)
account.problemobject or string

One of keychainUnavailable, revokeFailed, or an object that holds one key: unreachable.

account.teamsarray of stringsRequired
account.thisMacobject
entitlementobjectRequired
entitlement.basisstringRequired

One of builtFromSource, beta, account.

entitlement.editionstringRequired

One of free, pro, team.

entitlement.featuresarray of stringsRequired

Each item is one of moreMachines, startAtLogin, keepMacAwake, unattendedUpdate, watchdog, recordingExport, proxyCredentials, agentSandbox, templates, templatePush, testMatrix, ciRunners, trajectories, managedPolicy, auditExport, sharedImages.

entitlement.lapseobject or string

One of unreadable, accountLocked, or an object that holds one key: ended, unconfirmed, releaseAfterUpdates, releaseBetweenUpdates, releaseBeforeListedUpdates, macLimit or removedFromAccount.

entitlement.renewalPriceobject
entitlement.updateWindowsarray of objects
entitlement.validThroughstring (date-time)

Fields nested deeper are in the schema.

Exit statuses

Its exit status is one of these.

StatusMeaning
0The command did what it was asked.
1The command failed; with --json, standard error's last line is the error object.
64The command line is wrong, as ArgumentParser found before the command ran.
65What was given is wrong, found while the command ran; the same command fails until it changes.
75The same command can work later with nothing changed, as while an update finishes.
130Control-C cancelled what the command started.

Report a problem with this page