Search the docsCtrl K
Menu
Docs / Command line Updated Edit on GitHub

neodesk registrations

Copy as Markdown

Devices that asked to register.

neodesk registrations --help lists the same commands in the terminal. The flags every command takes are in the command reference.

neodesk registrations approve

Approve a registration.

neodesk registrations approve <id> [flags]
Argument What it is
<id> The registration ID (see registrations list)
Flag What it is
--name NAME display name
--folder-id N folder
--tags A,B tags

Needs enrollment.approve; changes something: needs a token with read and write access. Calls PUT /api/registrations/{id}/approve.

neodesk registrations count

Count waiting registrations.

neodesk registrations count [flags]

Needs enrollment.approve; only reads. Calls GET /api/registrations/count.

neodesk registrations delete

Delete a registration.

neodesk registrations delete <id> [flags]
Argument What it is
<id> The registration ID (see registrations list)

Needs enrollment.manage; changes something: needs a token with read and write access; deletes or ends something for good, so it asks first unless --yes is given. Calls DELETE /api/registrations/{id}.

neodesk registrations get

Show a registration.

neodesk registrations get <id> [flags]
Argument What it is
<id> The registration ID (see registrations list)

Needs enrollment.approve; only reads. Calls GET /api/registrations/{id}.

neodesk registrations list

List devices that asked to register.

neodesk registrations list [flags]

Needs enrollment.approve; only reads. Calls GET /api/registrations.

neodesk registrations options

Show the folders, groups and tags an approval can use.

neodesk registrations options [flags]

Needs enrollment.approve; only reads. Calls GET /api/registrations/enrollment-ui.

neodesk registrations reject

Reject a registration.

neodesk registrations reject <id> [flags]
Argument What it is
<id> The registration ID (see registrations list)
Flag What it is
--reason REASON why

Needs enrollment.approve; changes something: needs a token with read and write access; deletes or ends something for good, so it asks first unless --yes is given. Calls PUT /api/registrations/{id}/reject.

Type to search pages, sections, commands and settings.