ResetConsumerApiKey
Resets an API key.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
polardb:ResetConsumerApiKey |
update |
*All Resource
|
None | None |
Request syntax
POST HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| GwClusterId |
string |
Yes |
Instance ID of the gateway instance. You can obtain instance ID by calling the DescribeGatewayAttribute operation. Before calling this operation, create a gateway and confirm its VPC, vSwitch, and zone configurations. |
pg-xxxxxxxxxx |
| ConsumerId |
string |
Yes |
The ID of the consumer. You can obtain the ID by calling the DescribeConsumers operation. Call sequence: CreateGateway, CreateConsumer, and then ResetConsumerApiKey. |
c-mqveroemc*** |
| RegionId |
string |
No |
The region ID. |
cn-beijing |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
The request ID. |
3AA69096-757C-4647-B36C-29EBC2****** |
| ApiKey |
string |
The complete API key. This value is returned only in the current response. |
6c4b1f0317cd4fd7a5b446d3503d** |
| ConsumerId |
string |
The ID of the consumer. |
c-mqveroemc*** |
Examples
Success response
JSON format
{
"RequestId": "3AA69096-757C-4647-B36C-29EBC2******",
"ApiKey": "xxx",
"ConsumerId": "c-mqveroemc***"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.