Modifies basic information about an application that is deployed in a Kubernetes cluster.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request headers

This operation uses only the common request header. For more information, see Common request parameters.

Request syntax

POST /pop/v5/oam/update_app_basic_info HTTPS|HTTP

Request parameters

Parameter Type Position Required Example Description
AppId String Query Yes 4f038ddf-b27b-****-****-88e44375****

The ID of the application that you want to modify.

Description String Query No app for pre-production

The description of the application. The description can be up to 256 characters in length.

Owner String Query No Tom

The owner of the application. The value can be up to 128 characters in length.

Response parameters

Parameter Type Example Description
Code Integer 200

The HTTP status code.

Message String success

The additional information.

RequestId String 57F146F6-3C94-****-****-A66EF4B9*****

The ID of the request.

Result String success

The result of the modification.

Examples

Sample requests

POST /pop/v5/oam/update_app_basic_info HTTP/1.1
Common request parameters
{
"AppId": "4f038ddf-b27b-****-****-88e44375****",
"Owner": "Tom"
}

Sample success responses

XML format

<Message>success</Message>
<RequestId>57F146F6-3C94-****-****-A66EF4B9*****</RequestId>
<Code>200</Code>
<Result>success</Result>

JSON format

{"Message":"success","RequestId":"57F146F6-3C94-****-****-A66EF4B9*****","Code":"200","Result":"success"}

Error codes

HttpCode Error code Error message Description
500 Edas.errorcode.PermissionDenied.message You are not authorized to perform the operation. The error message returned because you are not authorized to perform the operation.

For a list of error codes, visit the API Error Center.