{
  "opencollection": "1.0.0",
  "info": {
    "name": "Microsoft Exchange Exchange Online Admin Accepted Domains Calendars API",
    "version": "2.0.0"
  },
  "request": {
    "auth": {
      "type": "oauth2",
      "flow": "client_credentials",
      "accessTokenUrl": "https://login.microsoftonline.com/{tenant}/oauth2/v2.0/token",
      "credentials": {
        "clientId": "{{clientId}}",
        "clientSecret": "{{clientSecret}}"
      }
    }
  },
  "items": [
    {
      "info": {
        "name": "Calendars",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Microsoft Exchange List calendars",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://outlook.office365.com/adminapi/v2.0/me/calendars",
            "params": [
              {
                "name": "$top",
                "value": "",
                "type": "query",
                "description": "The number of items to return"
              },
              {
                "name": "$skip",
                "value": "",
                "type": "query",
                "description": "The number of items to skip"
              },
              {
                "name": "$select",
                "value": "",
                "type": "query",
                "description": "Comma-separated list of properties to include in the response"
              }
            ]
          },
          "docs": "Get all the user's calendars, or the calendars in the default or other specific calendar group. Returns the calendar collection for the signed-in user."
        },
        {
          "info": {
            "name": "Microsoft Exchange Create calendar",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://outlook.office365.com/adminapi/v2.0/me/calendars",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create a new calendar in the default calendar group or specified calendar group for the user."
        },
        {
          "info": {
            "name": "Microsoft Exchange Get calendar",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://outlook.office365.com/adminapi/v2.0/me/calendars/:calendar-id",
            "params": [
              {
                "name": "calendar-id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the calendar"
              },
              {
                "name": "$select",
                "value": "",
                "type": "query",
                "description": "Comma-separated list of properties to include in the response"
              }
            ]
          },
          "docs": "Get the properties and relationships of a calendar object. The calendar can be one for a user or the default calendar of a Microsoft 365 group."
        },
        {
          "info": {
            "name": "Microsoft Exchange Update calendar",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://outlook.office365.com/adminapi/v2.0/me/calendars/:calendar-id",
            "params": [
              {
                "name": "calendar-id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the calendar"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update the properties of a calendar object. The calendar can be one for a user or the default calendar of a Microsoft 365 group."
        },
        {
          "info": {
            "name": "Microsoft Exchange Delete calendar",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://outlook.office365.com/adminapi/v2.0/me/calendars/:calendar-id",
            "params": [
              {
                "name": "calendar-id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the calendar"
              }
            ]
          },
          "docs": "Delete a calendar other than the user's default calendar."
        },
        {
          "info": {
            "name": "Microsoft Exchange List events in calendar",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://outlook.office365.com/adminapi/v2.0/me/calendars/:calendar-id/events",
            "params": [
              {
                "name": "calendar-id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the calendar"
              },
              {
                "name": "$top",
                "value": "",
                "type": "query",
                "description": "The number of items to return"
              },
              {
                "name": "$skip",
                "value": "",
                "type": "query",
                "description": "The number of items to skip"
              },
              {
                "name": "$select",
                "value": "",
                "type": "query",
                "description": "Comma-separated list of properties to include in the response"
              },
              {
                "name": "$filter",
                "value": "",
                "type": "query",
                "description": "OData filter expression"
              },
              {
                "name": "$orderby",
                "value": "",
                "type": "query",
                "description": "Comma-separated list of properties to sort by"
              }
            ]
          },
          "docs": "Retrieve a list of events in a specified calendar. The list contains single-instance meetings and series masters."
        },
        {
          "info": {
            "name": "Microsoft Exchange Create event in calendar",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://outlook.office365.com/adminapi/v2.0/me/calendars/:calendar-id/events",
            "params": [
              {
                "name": "calendar-id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the calendar"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create a new event in the specified calendar."
        }
      ]
    }
  ],
  "bundled": true
}