{
  "opencollection": "1.0.0",
  "info": {
    "name": "Microsoft Exchange Exchange Online Admin Accepted Domains Contact Folders 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": "Contact Folders",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Microsoft Exchange List contact folders",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://outlook.office365.com/adminapi/v2.0/me/contactFolders",
            "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"
              }
            ]
          },
          "docs": "Get the contact folder collection in the default contacts folder of the signed-in user."
        },
        {
          "info": {
            "name": "Microsoft Exchange Create contact folder",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://outlook.office365.com/adminapi/v2.0/me/contactFolders",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create a new contact folder as a child of a specified folder or as a top-level folder."
        },
        {
          "info": {
            "name": "Microsoft Exchange Get contact folder",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://outlook.office365.com/adminapi/v2.0/me/contactFolders/:contactFolder-id",
            "params": [
              {
                "name": "contactFolder-id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the contact folder"
              },
              {
                "name": "$select",
                "value": "",
                "type": "query",
                "description": "Comma-separated list of properties to include"
              }
            ]
          },
          "docs": "Get a contact folder by using the contact folder ID."
        },
        {
          "info": {
            "name": "Microsoft Exchange Update contact folder",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://outlook.office365.com/adminapi/v2.0/me/contactFolders/:contactFolder-id",
            "params": [
              {
                "name": "contactFolder-id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the contact folder"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update the properties of a contact folder object."
        },
        {
          "info": {
            "name": "Microsoft Exchange Delete contact folder",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://outlook.office365.com/adminapi/v2.0/me/contactFolders/:contactFolder-id",
            "params": [
              {
                "name": "contactFolder-id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the contact folder"
              }
            ]
          },
          "docs": "Delete a contact folder. The folder is moved to the Deleted Items folder."
        },
        {
          "info": {
            "name": "Microsoft Exchange List contacts in folder",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://outlook.office365.com/adminapi/v2.0/me/contactFolders/:contactFolder-id/contacts",
            "params": [
              {
                "name": "contactFolder-id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the contact folder"
              },
              {
                "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"
              },
              {
                "name": "$filter",
                "value": "",
                "type": "query",
                "description": "OData filter expression"
              },
              {
                "name": "$orderby",
                "value": "",
                "type": "query",
                "description": "Comma-separated list of properties to sort by"
              }
            ]
          },
          "docs": "Get a contact collection from the specified contact folder."
        },
        {
          "info": {
            "name": "Microsoft Exchange Create contact in folder",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://outlook.office365.com/adminapi/v2.0/me/contactFolders/:contactFolder-id/contacts",
            "params": [
              {
                "name": "contactFolder-id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the contact folder"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Add a contact to the specified contact folder."
        },
        {
          "info": {
            "name": "Microsoft Exchange List child contact folders",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://outlook.office365.com/adminapi/v2.0/me/contactFolders/:contactFolder-id/childFolders",
            "params": [
              {
                "name": "contactFolder-id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the contact folder"
              },
              {
                "name": "$top",
                "value": "",
                "type": "query",
                "description": "The number of items to return"
              },
              {
                "name": "$skip",
                "value": "",
                "type": "query",
                "description": "The number of items to skip"
              }
            ]
          },
          "docs": "Get a collection of child folders under the specified contact folder."
        },
        {
          "info": {
            "name": "Microsoft Exchange Create child contact folder",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://outlook.office365.com/adminapi/v2.0/me/contactFolders/:contactFolder-id/childFolders",
            "params": [
              {
                "name": "contactFolder-id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the contact folder"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create a new contact folder as a child of the specified folder."
        }
      ]
    }
  ],
  "bundled": true
}