Changing the Cloud Phone Name
Function Description
URI
PUT /v1/{project_id}/cloud-phone/phones/{phone_id}
|
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
|
project_id |
Yes |
String |
Specifies the project ID. For details about how to obtain the project ID, see Obtaining a Project ID. |
|
phone_id |
Yes |
String |
Specifies the unique identifier of the cloud phone. Obtain it by referring to Querying the Cloud Phones. |
Request
- Parameter description
Parameter
Mandatory
Type
Description
phone_name
Yes
String
Specifies the cloud phone name.
The value can contain a maximum of 60 characters, including lowercase letters, uppercase letters, digits, hyphens (-), and underscores (_).
- Example request
PUT https://{CPH Endpoint}/v1/{project_id}/cloud-phone/phones/1564567b8bab40f34711234cb80d8574 { "phone_name": "newName" }
Response
- Parameter description
Parameter
Type
Description
request_id
String
Specifies the request ID, which is unique.
- Example response
{ "request_id": "135d898e69344a13925a0899e1a4ac53" }
Returned Values
See Returned Values.
Error Codes
See Error Codes.
Last Article: Stopping Cloud Phones
Next Article: Updating Cloud Phone Attributes
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.