Microsoft Azure · Example Payload

Microsoft Azure Accounts Update Example

API ManagementCloudCloud ComputingEnterpriseInfrastructure as a ServicePlatform as a ServiceT1

Microsoft Azure Accounts Update 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_Update",
  "method": "PATCH",
  "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}",
  "summary": "Microsoft Azure Update a Cognitive Services Account",
  "requestExamples": [
    {
      "contentType": "application/json",
      "name": "AccountsUpdateRequestExample",
      "example": {
        "id": "abc123",
        "name": "Example Title",
        "type": "example_value",
        "etag": "example_value",
        "kind": "example_value",
        "sku": {
          "name": "Example Title",
          "tier": "Free"
        },
        "identity": {
          "principalId": "500123",
          "tenantId": "500123",
          "type": "None",
          "userAssignedIdentities": "example_value"
        },
        "location": "example_value",
        "tags": "example_value",
        "properties": {
          "provisioningState": "Accepted",
          "endpoint": "example_value",
          "endpoints": "example_value",
          "capabilities": [
            {}
          ],
          "isMigrated": true,
          "dateCreated": "example_value",
          "customSubDomainName": "example_value",
          "publicNetworkAccess": "Enabled",
          "disableLocalAuth": true,
          "restrictOutboundNetworkAccess": true
        }
      }
    }
  ],
  "responseExamples": [
    {
      "status": "200",
      "contentType": "application/json",
      "name": "AccountsUpdate200Example",
      "example": {
        "id": "abc123",
        "name": "Example Title",
        "type": "example_value",
        "etag": "example_value",
        "kind": "example_value",
        "sku": {
          "name": "Example Title",
          "tier": "Free"
        },
        "identity": {
          "principalId": "500123",
          "tenantId": "500123",
          "type": "None",
          "userAssignedIdentities": "example_value"
        },
        "location": "example_value",
        "tags": "example_value",
        "properties": {
          "provisioningState": "Accepted",
          "endpoint": "example_value",
          "endpoints": "example_value",
          "capabilities": [
            {}
          ],
          "isMigrated": true,
          "dateCreated": "example_value",
          "customSubDomainName": "example_value",
          "publicNetworkAccess": "Enabled",
          "disableLocalAuth": true,
          "restrictOutboundNetworkAccess": true
        }
      }
    },
    {
      "status": "202",
      "contentType": "application/json",
      "name": "AccountsUpdate202Example",
      "example": {
        "id": "abc123",
        "name": "Example Title",
        "type": "example_value",
        "etag": "example_value",
        "kind": "example_value",
        "sku": {
          "name": "Example Title",
          "tier": "Free"
        },
        "identity": {
          "principalId": "500123",
          "tenantId": "500123",
          "type": "None",
          "userAssignedIdentities": "example_value"
        },
        "location": "example_value",
        "tags": "example_value",
        "properties": {
          "provisioningState": "Accepted",
          "endpoint": "example_value",
          "endpoints": "example_value",
          "capabilities": [
            {}
          ],
          "isMigrated": true,
          "dateCreated": "example_value",
          "customSubDomainName": "example_value",
          "publicNetworkAccess": "Enabled",
          "disableLocalAuth": true,
          "restrictOutboundNetworkAccess": true
        }
      }
    },
    {
      "status": "default",
      "contentType": "application/json",
      "name": "AccountsUpdatedefaultExample",
      "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"
            }
          ]
        }
      }
    }
  ]
}