Create Device
This endpoint allows you to create a new device.
Request Body
-
extension(string, optional): The extension of the device. -
name(string, optional): The name of the device.
Response
Upon successful creation, the response will include an array of devices, each containing the following details:
-
id(string): The unique identifier of the device. -
name(string): The name of the device. -
extension(string): The extension of the device. -
password(string): The password of the device. -
created_at(string): The date and time when the device was created. -
updated_at(string, nullable): The date and time when the device was last updated. -
login_user_id(string): The unique identifier of the user who last logged in to the device. -
last_login(string, nullable): The date and time of the last login to the device.