User ID or email address of the user to whom this device is to be assigned. The User ID and the email of the user can be retrieved using the List Users API.
display_name
string
可选
Display name of the desk phone.
<= 255 字符
mac_address
string
可选
The MAC address of the desk phone.
Note: If you're using a wireless phone, enter the wired MAC address, not the wireless MAC address.
正则匹配:
^([0-9A-Fa-f]{2}[:-]?){5}([0-9A-Fa-f]{2})$
返回响应
🟢204**HTTP Status Code:** `204` **No Content**<br>
Device updated successfully.
application/json
Body
No schema defined
🟠400**HTTP Status Code:** `400` **Bad Request**<br>
**Error Code:** `300` <br>
Validation failed. Device does not exist in the system.<br>
Invalid userId.<br>
🟠404**HTTP Status Code:** `404` **Not Found**<br>
**Error Code:** `1001`<br>
User not found: {userId}<br>
The user extension does not exist, extensionId: {extensionId}.
🟠429**HTTP Status Code:** `429` **Too Many Requests**<br>
**Error Code:** `429`<br>
Each user can be assigned up to three desk phones.