Update Application Information¶
Update the information of an application.
Request Format¶
POST https://{apigw-address}/app-portal-service/v2.3/app/modify
Request Parameters (Header)¶
Name |
Required/Optional |
Data Type |
Description |
---|---|---|---|
appId |
Required |
String |
The access key of the application. How to get Access Key >> |
tags |
Optional |
String |
Application tag.
|
key |
Optional. Required if |
String |
The key of a tag, up to 5 keys, and they cannot be repeated. Each key can be up to 50 characters. |
value |
Optional. Required if |
String |
The value of a tag, up to 256 characters each value. |
Request Parameters (URI)¶
Name |
Required/Optional |
Data Type |
Description |
---|---|---|---|
orgId |
Required |
String |
OU ID. How to get orgId >> |
Response Parameters¶
Name |
Data Type |
Description |
---|---|---|
success |
Boolean |
The results for updating application tags. |
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_access_key",
"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
}
}