{ "opencollection": "1.0.0", "info": { "name": "Microsoft Azure Cognitive Services Accounts Resource Groups API", "version": "3.2" }, "request": { "auth": { "type": "apikey", "key": "Ocp-Apim-Subscription-Key", "value": "{{Ocp-Apim-Subscription-Key}}", "placement": "header" } }, "items": [ { "info": { "name": "Resource Groups", "type": "folder" }, "items": [ { "info": { "name": "Microsoft List resource groups", "type": "http" }, "http": { "method": "GET", "url": "https://{region}.api.cognitive.microsoft.com/subscriptions/:subscriptionId/resourcegroups", "params": [ { "name": "subscriptionId", "value": "", "type": "path", "description": "The ID of the target subscription" }, { "name": "api-version", "value": "", "type": "query", "description": "The API version to use for this operation" }, { "name": "$filter", "value": "", "type": "query", "description": "OData filter expression" }, { "name": "$top", "value": "", "type": "query", "description": "Maximum number of results to return" } ] }, "docs": "Gets all the resource groups for a subscription." }, { "info": { "name": "Microsoft Get a resource group", "type": "http" }, "http": { "method": "GET", "url": "https://{region}.api.cognitive.microsoft.com/subscriptions/:subscriptionId/resourcegroups/:resourceGroupName", "params": [ { "name": "subscriptionId", "value": "", "type": "path", "description": "The ID of the target subscription" }, { "name": "resourceGroupName", "value": "", "type": "path", "description": "The name of the resource group" }, { "name": "api-version", "value": "", "type": "query", "description": "The API version to use for this operation" } ] }, "docs": "Gets a resource group." }, { "info": { "name": "Microsoft Create or update a resource group", "type": "http" }, "http": { "method": "PUT", "url": "https://{region}.api.cognitive.microsoft.com/subscriptions/:subscriptionId/resourcegroups/:resourceGroupName", "params": [ { "name": "subscriptionId", "value": "", "type": "path", "description": "The ID of the target subscription" }, { "name": "resourceGroupName", "value": "", "type": "path", "description": "The name of the resource group" }, { "name": "api-version", "value": "", "type": "query", "description": "The API version to use for this operation" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Creates or updates a resource group." }, { "info": { "name": "Microsoft Delete a resource group", "type": "http" }, "http": { "method": "DELETE", "url": "https://{region}.api.cognitive.microsoft.com/subscriptions/:subscriptionId/resourcegroups/:resourceGroupName", "params": [ { "name": "subscriptionId", "value": "", "type": "path", "description": "The ID of the target subscription" }, { "name": "resourceGroupName", "value": "", "type": "path", "description": "The name of the resource group" }, { "name": "api-version", "value": "", "type": "query", "description": "The API version to use for this operation" } ] }, "docs": "Deletes a resource group and all of its resources." } ] } ], "bundled": true }