Skip to content

Set flight mode for a device

GET
/devices/{id}/flightMode

Authorizations

ApiKeyAuth

API Key for authentication. Retrieval from either API version login routes, or other authentication token type. See Authentication for more details.

TypeAPI Key (header: Authorization)
ExampleeyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...

Parameters

Path Parameters

id*

device id

Typenumber
Required
formatinteger

Query Parameters

duration*

How long to go into flightMode, in minutes

Typenumber
Required
format

Responses

Request was successful
application/json
JSON
{
}

Playground

Authorization
Variables
Key
Value

Samples

cURL
JavaScript
PHP
Python