Skip to main content

unauth

The unauth command removes a device's authorization, undoing auth.

Command TypeSDVoE
Minimum Version3.x.x
Requires the Admin role

Usage

unauth <device> [<arguments>]

Arguments

ArgumentRequiredDescription
deviceYesDevice name, MAC address, or device ID. Names are substituted with the MAC address automatically.
argumentsNoAny additional arguments are passed through to the underlying SDVoE API command.

Examples

De-authorize a device
unauth room_projector

Return value

unauth is processed asynchronously. The immediate reply is PROCESSING with a request_id. Read the outcome with request.

unauth room_projector
{
"status": "PROCESSING",
"request_id": 42,
"result": null,
"error": null
}

Errors

ErrorCause
Server Claim/Auth Key change is pending...A claim/auth key change has not been applied yet. Run server applypending first
Invalid parametersNo device was given

REST API

Although unauth originates in the SDVoE API, the REST example below uses a DisplayNet API operation. Use the endpoint shown here. DisplayNet uses it to maintain its own device records.

Endpoint typeDisplayNet API command
AddressPOST /api/displaynet/<operation>, or name the operation in the body of a POST /api/displaynet. See Sending commands.
RoleAdmin
OperationParameters
unauthdevice [args]*

A parameter in brackets is optional. A parameter marked * takes the remainder of the command line as one string. Pass the text exactly as you would type it on the TCI interface.

See also