ResetConsumerApiKey

Updated at:
Copy as MD

Resets an api key.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

Request syntax

POST  HTTP/1.1

Request parameters

Parameter

Type

Required

Description

Example

GwClusterId

string

Yes

The ID of the gateway instance.

pg-xxxxxxxxxx

ConsumerId

string

Yes

The user ID.

c-mqveroemc***

RegionId

string

No

The region ID.

cn-beijing

Response elements

Element

Type

Description

Example

object

The response schema.

RequestId

string

The request ID.

3AA69096-757C-4647-B36C-29EBC2******

ApiKey

string

The complete api key, which is returned only in this response.

xxx

ConsumerId

string

The user ID.

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.