Updates the description of an application.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
sae:UpdateApplicationDescription |
*All Resource
|
None | None |
Request syntax
PUT /pop/v1/sam/app/updateAppDescription HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| AppId |
string |
Yes |
The ID of the application that you want to update. |
7171a6ca-d1cd-4928-8642-7d5cfe69**** |
| AppDescription |
string |
Yes |
The new description of the application. The description can be up to 1,024 characters in length. |
newdesc |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The data returned. |
||
| RequestId |
string |
Request ID. |
01CF26C7-00A3-4AA6-BA76-7E95F2A3*** |
| Message |
string |
The message returned. The following limits are imposed on the ID:
|
success |
| TraceId |
string |
The ID of the trace. The ID is used to query the details of a request. |
ac1a0b2215622246421415014e**** |
| ErrorCode |
string |
The error code returned if the call failed. Value values:
|
400 |
| Code |
string |
The HTTP status code or the error code. Valid values:
|
200 |
| Success |
boolean |
Indicates whether the application was deployed. Valid values:
|
true |
Examples
Success response
JSON format
{
"RequestId": "01CF26C7-00A3-4AA6-BA76-7E95F2A3***",
"Message": "success",
"TraceId": "ac1a0b2215622246421415014e****",
"ErrorCode": "400",
"Code": "200",
"Success": true
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidParameter.NotEmpty | You must specify the parameter %s. | |
| 400 | InvalidApplication.NotFound | The current application does not exist. | |
| 400 | InvalidParameter.WithMessage | The parameter is invalid {%s}: %s | |
| 404 | InvalidAppId.NotFound | The specified AppId does not exist. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.