v3

latestSwagger 2.0raw.githubusercontent.com2019-05-31101224.1 KB

Regenerate either the primary or secondary key for use with the Maps APIs. The old key will stop working immediately.

post/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Maps/accounts/{accountName}/regenerateKey

Path parameters

subscriptionIdstring required

Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.

resourceGroupNamestring required

The name of the Azure Resource Group.

accountNamestring required

The name of the Maps Account.

Query parameters

api-versionstring required

Client Api Version.

Request body

keyType'primary' | 'secondary' required

Whether the operation refers to the primary or secondary key.

Response

The request was successful.

idstring

The full Azure resource identifier of the Maps Account.

primaryKeystring

The primary key for accessing the Maps REST APIs.

secondaryKeystring

The secondary key for accessing the Maps REST APIs.