Regenerates either the primary or secondary admin API key. You can only regenerate one key at a time.
Path parameters
The name of the resource group within the current subscription. You can obtain this value from the Azure Resource Manager API or the portal.
The name of the Azure Cognitive Search service associated with the specified resource group.
Specifies which key to regenerate. Valid values include 'primary' and 'secondary'.
The unique identifier for a Microsoft Azure subscription. You can obtain this value from the Azure Resource Manager API or the portal.
Query parameters
The API version to use for each request. The current version is 2015-08-19.
Headers
A client-generated GUID value that identifies this request. If specified, this will be included in response information as a way to track the request.
Response
The specified admin key was successfully regenerated. Both admin keys are included in the response, including the newly-regenerated key.