{
  "opencollection": "1.0.0",
  "info": {
    "name": "Tableau REST Authentication Sites API",
    "version": "3.24.0"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "X-Tableau-Auth",
      "value": "{{X-Tableau-Auth}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "Sites",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Tableau Query Sites",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{server}/api/{api-version}/sites",
            "params": [
              {
                "name": "pageSize",
                "value": "",
                "type": "query",
                "description": "The number of items to return in one response. The minimum is 1 and the maximum is 1000."
              },
              {
                "name": "pageNumber",
                "value": "",
                "type": "query",
                "description": "The page number of the set of items to return. The default is 1."
              }
            ]
          },
          "docs": "Returns a list of the sites on the server that the caller has access to. This method is available to Tableau Server administrators."
        },
        {
          "info": {
            "name": "Tableau Create Site",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{server}/api/{api-version}/sites",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates a site on Tableau Server. To create a site, you must be a server administrator. Not available for Tableau Cloud."
        },
        {
          "info": {
            "name": "Tableau Query Site",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{server}/api/{api-version}/sites/:site-id",
            "params": [
              {
                "name": "site-id",
                "value": "",
                "type": "path",
                "description": "The ID of the site. You can get the site ID from the response to the Sign In method."
              },
              {
                "name": "includeUsageStatistics",
                "value": "true",
                "type": "query",
                "description": "If true, returns usage statistics for the site."
              }
            ]
          },
          "docs": "Returns information about the specified site, with the option to return information about the storage space and the number of users."
        },
        {
          "info": {
            "name": "Tableau Update Site",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://{server}/api/{api-version}/sites/:site-id",
            "params": [
              {
                "name": "site-id",
                "value": "",
                "type": "path",
                "description": "The ID of the site. You can get the site ID from the response to the Sign In method."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Updates the settings for the specified site, including the name, URL namespace, storage quota, and other settings."
        },
        {
          "info": {
            "name": "Tableau Delete Site",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://{server}/api/{api-version}/sites/:site-id",
            "params": [
              {
                "name": "site-id",
                "value": "",
                "type": "path",
                "description": "The ID of the site. You can get the site ID from the response to the Sign In method."
              }
            ]
          },
          "docs": "Deletes the specified site. Deleting a site also deletes all content on the site including workbooks, data sources, users, etc."
        }
      ]
    }
  ],
  "bundled": true
}