Last Updated on : 2023-06-21 07:13:00download
Modify the information about a specified project based on the unique project ID, including the project name, location ID, address, and time zone.
PUT: /v1.0/osaas/projects/{project_id}
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
projectId | String | uri | true | The unique ID of a specified project. |
projectName | String | uri | true | The name of a specified project. Up to 64 characters can be entered. |
locationId | String | uri | false | The unique ID of a specified location. |
address | String | uri | false | The detailed address. Up to 80 characters can be entered. |
timeZoneId | String | uri | false | The time zone ID. Example: Asia/Shanghai. |
Parameter name | Type | Description |
---|---|---|
code | Integer | The response code if the API call fails. This parameter value is empty if the API call succeeds. |
success | String | Indicates whether the operation is successful. |
msg | String | The response message that is returned if the request fails. It is empty if the request is successful. |
t | Long | The 13-bit timestamp. |
PUT: {url}/v1.0/osaas/projects/1160823965053******
{
"project_name": "*** Project",
"location_id": "11",
"address": "No. ***, *** Road",
"time_zone_id": "Asia/Shanghai"
}
{
"result": true,
"t": 1566053034624,
"success": true
}
For more information, see error code.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback