Creates new device type.

Request

HTTP Request

POST /devicetype

Authorization

Access JSON Web Token (ManageDeviceType)

Request Body

In the request body, supply a DeviceType resource.

Property Name

Required

Type

Description

name

Yes

string

Device type name.

description

No

string

Device type description.

Response

If successful, this method returns a device type identifier in the response body.

Property Name

Type

Description

id

integer

Device type identifier.