{
  "opencollection": "1.0.0",
  "info": {
    "name": "Microsoft Graph Admin Admin.admin Sites.permission API",
    "version": "1.0.0"
  },
  "items": [
    {
      "info": {
        "name": "Sites.permission",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Microsoft Graph Get permissions from sites",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://graph.microsoft.com/v1.0/sites/:site-id/getByPath(path=':path')/permissions",
            "params": [
              {
                "name": "site-id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of site"
              },
              {
                "name": "path",
                "value": "",
                "type": "path",
                "description": "Usage: path='{path}'"
              },
              {
                "name": "$top",
                "value": "50",
                "type": "query",
                "description": "Show only the first n items"
              },
              {
                "name": "$skip",
                "value": "",
                "type": "query",
                "description": "Skip the first n items"
              },
              {
                "name": "$search",
                "value": "",
                "type": "query",
                "description": "Search items by search phrases"
              },
              {
                "name": "$filter",
                "value": "",
                "type": "query",
                "description": "Filter items by property values"
              },
              {
                "name": "$count",
                "value": "",
                "type": "query",
                "description": "Include count of items"
              },
              {
                "name": "$orderby",
                "value": "",
                "type": "query",
                "description": "Order items by property values"
              },
              {
                "name": "$select",
                "value": "",
                "type": "query",
                "description": "Select properties to be returned"
              },
              {
                "name": "$expand",
                "value": "",
                "type": "query",
                "description": "Expand related entities"
              }
            ]
          },
          "docs": "The permissions associated with the site. Nullable."
        },
        {
          "info": {
            "name": "Microsoft Graph Create new navigation property to permissions for sites",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://graph.microsoft.com/v1.0/sites/:site-id/getByPath(path=':path')/permissions",
            "params": [
              {
                "name": "site-id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of site"
              },
              {
                "name": "path",
                "value": "",
                "type": "path",
                "description": "Usage: path='{path}'"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Microsoft Graph Create new navigation property to permissions for sites"
        },
        {
          "info": {
            "name": "Microsoft Graph List permissions",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://graph.microsoft.com/v1.0/sites/:site-id/permissions",
            "params": [
              {
                "name": "site-id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of site"
              },
              {
                "name": "$top",
                "value": "50",
                "type": "query",
                "description": "Show only the first n items"
              },
              {
                "name": "$skip",
                "value": "",
                "type": "query",
                "description": "Skip the first n items"
              },
              {
                "name": "$search",
                "value": "",
                "type": "query",
                "description": "Search items by search phrases"
              },
              {
                "name": "$filter",
                "value": "",
                "type": "query",
                "description": "Filter items by property values"
              },
              {
                "name": "$count",
                "value": "",
                "type": "query",
                "description": "Include count of items"
              },
              {
                "name": "$orderby",
                "value": "",
                "type": "query",
                "description": "Order items by property values"
              },
              {
                "name": "$select",
                "value": "",
                "type": "query",
                "description": "Select properties to be returned"
              },
              {
                "name": "$expand",
                "value": "",
                "type": "query",
                "description": "Expand related entities"
              }
            ]
          },
          "docs": "Get the permission resources from the permissions navigation property on a site."
        },
        {
          "info": {
            "name": "Microsoft Graph Create permission",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://graph.microsoft.com/v1.0/sites/:site-id/permissions",
            "params": [
              {
                "name": "site-id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of site"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create a new permission object on a site. "
        },
        {
          "info": {
            "name": "Microsoft Graph Get permission",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://graph.microsoft.com/v1.0/sites/:site-id/permissions/:permission-id",
            "params": [
              {
                "name": "site-id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of site"
              },
              {
                "name": "permission-id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of permission"
              },
              {
                "name": "$select",
                "value": "",
                "type": "query",
                "description": "Select properties to be returned"
              },
              {
                "name": "$expand",
                "value": "",
                "type": "query",
                "description": "Expand related entities"
              }
            ]
          },
          "docs": "Retrieve the properties and relationships of a permission object on a site."
        },
        {
          "info": {
            "name": "Microsoft Graph Update permission",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://graph.microsoft.com/v1.0/sites/:site-id/permissions/:permission-id",
            "params": [
              {
                "name": "site-id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of site"
              },
              {
                "name": "permission-id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of permission"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update an application permission object on a site. "
        },
        {
          "info": {
            "name": "Microsoft Graph Delete permission",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://graph.microsoft.com/v1.0/sites/:site-id/permissions/:permission-id",
            "headers": [
              {
                "name": "If-Match",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "site-id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of site"
              },
              {
                "name": "permission-id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of permission"
              }
            ]
          },
          "docs": "Delete a permission object on a site."
        },
        {
          "info": {
            "name": "Microsoft Graph Invoke action grant",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://graph.microsoft.com/v1.0/sites/:site-id/permissions/:permission-id/grant",
            "params": [
              {
                "name": "site-id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of site"
              },
              {
                "name": "permission-id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of permission"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Grant users access to a link represented by a permission."
        },
        {
          "info": {
            "name": "Microsoft Graph Get the number of the resource",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://graph.microsoft.com/v1.0/sites/:site-id/permissions/$count",
            "params": [
              {
                "name": "site-id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of site"
              },
              {
                "name": "$search",
                "value": "",
                "type": "query",
                "description": "Search items by search phrases"
              },
              {
                "name": "$filter",
                "value": "",
                "type": "query",
                "description": "Filter items by property values"
              }
            ]
          },
          "docs": "Microsoft Graph Get the number of the resource"
        }
      ]
    }
  ],
  "bundled": true
}