Update Application Information¶
Update the information of an application.
Request Format¶
POST https://{apigw-address}/app-portal-service/v2.3/app/modify
Request Parameter (Header)¶
Name |
Mandatory/Optional |
Data Type |
Description |
---|---|---|---|
appId |
Mandatory |
String |
Application ID. |
tags |
Mandatory |
List |
Application Tags.
|
key |
Optional |
String |
The key of a tag, up to 50 characters. The parameter is mandatory unless the “tags” parameter value is null or not specified. You can add up to 5 tag keys to an application, and the keys should be unique. |
value |
Optional |
String |
The value of a tag, up to 256 characters. The parameter is mandatory unless the “tags” parameter value is null or not specified. |
Request Parameter (URI)¶
Name |
Mandatory/Optional |
Data Type |
Description |
---|---|---|---|
orgId |
Mandatory |
String |
OU ID. |
Response Parameter¶
Name |
Data Type |
Description |
---|---|---|
success |
Boolean |
The results for updating application information. true for success, and false for failure. |
Error Codes¶
Error Code |
Description |
---|---|
31400 |
|
31404 |
|
Samples¶
Request Sample¶
url: /app-portal-service/v2.3/app/modify?orgId=your_org_id
method: POST
requestBody:
{
"appId": "your_app_id",
"tags": [
{
"key": "your_tag_key",
"value": "your_tag_value"
},
{
"key": "your_tag_key_2",
"value": "your_tag_value_2"
}
]
}
Return Sample¶
{
"code": 0,
"message": "OK",
"data": {
"success":true
}
}