Updates the information about an application.
QPS limit
A single user can perform a maximum of 30 queries per second (QPS). Throttling is triggered when the number of calls per second exceeds the QPS limit. The throttling may affect your business. Thus, we recommend that you observe the QPS limit on this operation.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | UpdateAppInfo |
The operation that you want to perform. Set the value to UpdateAppInfo. |
AppId | String | No | app-**** |
The ID of the application.
|
AppName | String | No | test |
The name of the application.
|
Description | String | No | my first app. |
The description of the application.
|
Status | String | No | Disable |
The status of the application. Valid values:
|
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
RequestId | String | 25818875-5F78-4A13-DF45-D7393642**** |
The ID of the request. |
Examples
Sample requests
http(s)://vod.cn-shanghai.aliyuncs.com/?Action=UpdateAppInfo
&AppId=app-****
&AppName=test
&Description=my first app.
&Status=Disable
&<Common request parameters>
Sample success responses
XML
format
HTTP/1.1 200 OK
Content-Type:application/xml
<UpdateAppInfoResponse>
<RequestId>25818875-5F78-4A13-DF45-D7393642****</RequestId>
</UpdateAppInfoResponse>
JSON
format
HTTP/1.1 200 OK
Content-Type:application/json
{
"RequestId" : "25818875-5F78-4A13-DF45-D7393642****"
}
Error codes
For a list of error codes, visit the API Error Center.
The following table describes the common errors that this operation can return. For more information about errors common to all operations, see Common errors.
Error code |
Error message |
HTTP status code |
Description |
---|---|---|---|
OperationDenied.NotOpenAppService |
The app service is not open. |
403 |
The error message returned because the multi-application service has not been activated. |
Forbidden.OperateApp |
User not authorized to operate app. |
403 |
The error message returned because you are not authorized to manage the application. |