v20

latestSwagger 2.02026-07-13181273506.4 KB
AppPlatform

Regenerate a test key for a Service.

post/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/regenerateTestKey

Path parameters

subscriptionIdstring required

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

resourceGroupNamestring required

The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.

serviceNamestring required

The name of the Service resource.

Query parameters

api-versionstring required

The API version to use for this operation.

Request body

keyType'Primary' | 'Secondary' required

Type of the test key

Response

Success.

primaryKeystring

Primary key

secondaryKeystring

Secondary key

primaryTestEndpointstring

Primary test endpoint

secondaryTestEndpointstring

Secondary test endpoint

enabledboolean

Indicates whether the test endpoint feature enabled or not