{
  "opencollection": "1.0.0",
  "info": {
    "name": "Microsoft Azure Cognitive Services Accounts Service Principals API",
    "version": "3.2"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "Ocp-Apim-Subscription-Key",
      "value": "{{Ocp-Apim-Subscription-Key}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "Service Principals",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Microsoft List service principals",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{region}.api.cognitive.microsoft.com/servicePrincipals",
            "params": [
              {
                "name": "$select",
                "value": "",
                "type": "query",
                "description": "Properties to include"
              },
              {
                "name": "$filter",
                "value": "",
                "type": "query",
                "description": "OData filter expression"
              },
              {
                "name": "$top",
                "value": "",
                "type": "query",
                "description": "Maximum number of items"
              }
            ]
          },
          "docs": "Retrieve a list of service principal objects."
        },
        {
          "info": {
            "name": "Microsoft Create a service principal",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{region}.api.cognitive.microsoft.com/servicePrincipals",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create a new service principal."
        }
      ]
    }
  ],
  "bundled": true
}