ModifyApiGroup
Modifies the name, description, or base path of an existing API group.
Operation description
This feature is intended for API providers.
The rate limit for this API operation is 50 queries per second (QPS) per user.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
apigateway:ModifyApiGroup |
update |
*ApiGroup
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| GroupId |
string |
Yes |
The ID of the API group. The ID is generated by the system and is globally unique. |
523e8dc7bbe04613b5b1d726c2a7889d |
| GroupName |
string |
No |
The name of the group. The name must be unique and can contain Chinese characters, letters, digits, and underscores. It must start with a letter or a Chinese character and must be 4 to 50 characters in length. If you do not specify this parameter, the name is not modified. |
NewWeather |
| BasePath |
string |
No |
The base path of the API. |
/eeee |
| Description |
string |
No |
The description of the group. The description can be up to 180 characters in length. If you do not specify this parameter, the description is not modified. |
New weather informations. |
| UserLogConfig |
string |
No |
The user log configuration. |
{\"requestBody\":false,\"responseBody\":false,\"queryString\":\"\",\"requestHeaders\":\"\",\"responseHeaders\":\"\",\"jwtClaims\":\"\"} |
| CustomTraceConfig |
string |
No |
The custom trace configuration. |
{\"parameterLocation\":\"HEADER\",\"parameterName\":\"traceId\"} |
| CompatibleFlags |
string |
No |
The list of associated tags. Separate multiple tags with commas (,). |
depart:dep1 |
| CustomerConfigs |
string |
No |
The custom configuration data. |
removeResponseServerHeader |
| PassthroughHeaders |
string |
No |
The pass-through headers. |
eagleeye-rpcid,x-b3-traceid,host |
| DefaultDomain |
string |
No |
The default domain name. |
mkt.api.gaore.com |
| RpcPattern |
string |
No |
The RPC mode. |
{} |
| Tag |
array<object> |
No |
The tags of the objects to which the rule applies. You can specify multiple tags. |
|
|
object |
No |
The list of tags. |
||
| Key |
string |
Yes |
The tag key. |
env |
| Value |
string |
Yes |
The tag value. |
uat |
| SupportSSE |
string |
No |
Specifies whether the gateway supports sending event streams to clients to enable real-time data push. |
true |
| FilterAppCodeForBackend |
string |
No |
Specifies whether to filter the AppCode in backend requests. |
false |
| CustomAppCodeConfig |
string |
No |
The custom AppCode configuration. |
{"location":"HEADER","name":"myAppCodeHeader"} |
| RpsLimitForServerless |
string |
No |
The maximum requests per second (RPS) for the serverless backend. |
2500 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The unique ID of the request. |
4CF287C6-CE5B-477B-BE27-C48F99EADBC8 |
| BasePath |
string |
The base path of the API. |
/test |
| GroupId |
string |
The ID of the API group. The ID is generated by the system and is globally unique. |
523e8dc7bbe04613b5b1d726c2a7889d |
| GroupName |
string |
The name of the API group. |
NewWeather |
| Description |
string |
The description of the API group. |
New weather informations. |
| SubDomain |
string |
The second-level domain name assigned to the API group by the system. |
523e8dc7bbe04613b5b1d726c2a7889d-cn-hangzhou.alicloudapi.com |
Examples
Success response
JSON format
{
"RequestId": "4CF287C6-CE5B-477B-BE27-C48F99EADBC8",
"BasePath": "/test",
"GroupId": "523e8dc7bbe04613b5b1d726c2a7889d",
"GroupName": "NewWeather",
"Description": "New weather informations.",
"SubDomain": "523e8dc7bbe04613b5b1d726c2a7889d-cn-hangzhou.alicloudapi.com"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.