Creates an app for API Gateway.
Operation description
- This operation is intended for API callers.
- Each application has a key-value pair which is used for identity verification when you call an API.
- An application must be authorized to call an API.
- Each application has only one key-value pair, which can be reset if the pair is leaked.
- A maximum of 1,000 applications can be created for each Alibaba Cloud account.
- You can call this operation up to 50 times per second per account.
Debugging
Authorization information
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
AppName | string | Yes | The name of the application. The name must be 4 to 26 characters in length. The name can contain letters, digits, and underscores (_), and must start with a letter. | CreateAppTest |
Description | string | No | The description of the application. The description can be up to 180 characters in length. | test |
Tag | array<object> | No | The tag of objects that match the rule. You can specify multiple tags. | Key, Value |
object | No | |||
Key | string | No | The key of the tag. Valid values of n: | env |
Value | string | No | The value of the tag. Valid values of n: | ' ' |
AppKey | string | No | The key of the application that is used to make an API call. | 60030986 |
AppSecret | string | No | The password of the application. | nzyNqFkRWB2uLw86 |
AppCode | string | No | The AppCode of the application. | 3aaf905a0a1f4f0eabc6d891dfa08afc |
Extend | string | No | The extended information. | 110210264071 |
Response parameters
Examples
Sample success responses
JSON
format
{
"TagStatus": false,
"RequestId": "BA20890E-75C7-41BC-9C8B-73276B58F550",
"AppId": 20112314518278
}
Error codes
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|---|---|
2023-07-28 | The request parameters of the API has changed | View Change Details |
2023-03-23 | The request parameters of the API has changed | View Change Details |