{
  "opencollection": "1.0.0",
  "info": {
    "name": "Microsoft Azure AccessControlClient AccessConnector QueryKeys API",
    "version": "2020-08-01-preview"
  },
  "items": [
    {
      "info": {
        "name": "QueryKeys",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Microsoft Azure Post Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Search Searchservices Searchservicename Createquerykey Name",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.Search/searchServices/:searchServiceName/createQueryKey/:name",
            "headers": [
              {
                "name": "x-ms-client-request-id",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "resourceGroupName",
                "value": "",
                "type": "path",
                "description": "The name of the resource group within the current subscription. You can obtain this value from the Azure Resource Manager API or the portal."
              },
              {
                "name": "searchServiceName",
                "value": "",
                "type": "path",
                "description": "The name of the Azure Cognitive Search service associated with the specified resource group."
              },
              {
                "name": "name",
                "value": "",
                "type": "path",
                "description": "The name of the new query API key."
              },
              {
                "name": "api-version",
                "value": "",
                "type": "query",
                "description": "The API version to use for each request."
              },
              {
                "name": "subscriptionId",
                "value": "",
                "type": "path",
                "description": "The unique identifier for a Microsoft Azure subscription. You can obtain this value from the Azure Resource Manager API or the portal."
              }
            ]
          },
          "docs": "Generates a new query key for the specified search service. You can create up to 50 query keys per service."
        },
        {
          "info": {
            "name": "Microsoft Azure Post Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Search Searchservices Searchservicename Listquerykeys",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.Search/searchServices/:searchServiceName/listQueryKeys",
            "headers": [
              {
                "name": "x-ms-client-request-id",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "resourceGroupName",
                "value": "",
                "type": "path",
                "description": "The name of the resource group within the current subscription. You can obtain this value from the Azure Resource Manager API or the portal."
              },
              {
                "name": "searchServiceName",
                "value": "",
                "type": "path",
                "description": "The name of the Azure Cognitive Search service associated with the specified resource group."
              },
              {
                "name": "api-version",
                "value": "",
                "type": "query",
                "description": "The API version to use for each request."
              },
              {
                "name": "subscriptionId",
                "value": "",
                "type": "path",
                "description": "The unique identifier for a Microsoft Azure subscription. You can obtain this value from the Azure Resource Manager API or the portal."
              }
            ]
          },
          "docs": "Returns the list of query API keys for the given Azure Cognitive Search service."
        },
        {
          "info": {
            "name": "Microsoft Azure Delete Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Search Searchservices Searchservicename Deletequerykey Key",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{{baseUrl}}/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.Search/searchServices/:searchServiceName/deleteQueryKey/:key",
            "headers": [
              {
                "name": "x-ms-client-request-id",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "resourceGroupName",
                "value": "",
                "type": "path",
                "description": "The name of the resource group within the current subscription. You can obtain this value from the Azure Resource Manager API or the portal."
              },
              {
                "name": "searchServiceName",
                "value": "",
                "type": "path",
                "description": "The name of the Azure Cognitive Search service associated with the specified resource group."
              },
              {
                "name": "key",
                "value": "",
                "type": "path",
                "description": "The query key to be deleted. Query keys are identified by value, not by name."
              },
              {
                "name": "api-version",
                "value": "",
                "type": "query",
                "description": "The API version to use for each request."
              },
              {
                "name": "subscriptionId",
                "value": "",
                "type": "path",
                "description": "The unique identifier for a Microsoft Azure subscription. You can obtain this value from the Azure Resource Manager API or the portal."
              }
            ]
          },
          "docs": "Deletes the specified query key. Unlike admin keys, query keys are not regenerated. The process for regenerating a query key is to delete and then recreate it."
        }
      ]
    }
  ],
  "bundled": true
}