Microsoft Azure · Example Payload

Microsoft Azure Accounts Regeneratekey Example

API ManagementCloudCloud ComputingEnterpriseInfrastructure as a ServicePlatform as a ServiceT1

Microsoft Azure Accounts Regeneratekey Example is an example object payload from Microsoft Azure, with 6 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

operationIdmethodpathsummaryrequestExamplesresponseExamples

Example Payload

Raw ↑
{
  "operationId": "Accounts_RegenerateKey",
  "method": "POST",
  "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/regenerateKey",
  "summary": "Microsoft Azure Regenerate an Account Key",
  "requestExamples": [
    {
      "contentType": "application/json",
      "name": "AccountsRegeneratekeyRequestExample",
      "example": {
        "keyName": "Key1"
      }
    }
  ],
  "responseExamples": [
    {
      "status": "200",
      "contentType": "application/json",
      "name": "AccountsRegeneratekey200Example",
      "example": {
        "key1": "example_value",
        "key2": "example_value"
      }
    },
    {
      "status": "default",
      "contentType": "application/json",
      "name": "AccountsRegeneratekeydefaultExample",
      "example": {
        "error": {
          "code": "example_value",
          "message": "example_value",
          "target": "example_value",
          "details": [
            {
              "code": "example_value",
              "message": "example_value",
              "target": "example_value"
            }
          ],
          "additionalInfo": [
            {
              "type": "example_value",
              "info": "example_value"
            }
          ]
        }
      }
    }
  ]
}