{
  "opencollection": "1.0.0",
  "info": {
    "name": "Pirsch Access Links Domains API",
    "version": "1"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Domains",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List domains",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.pirsch.io/api/v1/domain",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "query"
              },
              {
                "name": "subdomain",
                "value": "",
                "type": "query"
              },
              {
                "name": "domain",
                "value": "",
                "type": "query"
              },
              {
                "name": "access",
                "value": "",
                "type": "query"
              },
              {
                "name": "search",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "Get all domains accessible to the authenticated user"
        },
        {
          "info": {
            "name": "Create a domain",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.pirsch.io/api/v1/domain",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create a new domain for tracking"
        },
        {
          "info": {
            "name": "Delete a domain",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.pirsch.io/api/v1/domain",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "Permanently delete a domain and all its data"
        },
        {
          "info": {
            "name": "Update domain hostname",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.pirsch.io/api/v1/domain/hostname",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update domain hostname"
        },
        {
          "info": {
            "name": "Update domain subdomain",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.pirsch.io/api/v1/domain/subdomain",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update domain subdomain"
        },
        {
          "info": {
            "name": "Update domain timezone",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.pirsch.io/api/v1/domain/timezone",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update domain timezone"
        },
        {
          "info": {
            "name": "Update domain settings",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.pirsch.io/api/v1/domain/settings",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update domain settings"
        },
        {
          "info": {
            "name": "List alternative domains",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.pirsch.io/api/v1/domain/alternative",
            "params": [
              {
                "name": "domain_id",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "List alternative domains"
        },
        {
          "info": {
            "name": "Create alternative domain",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.pirsch.io/api/v1/domain/alternative",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create alternative domain"
        },
        {
          "info": {
            "name": "Update alternative domain",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.pirsch.io/api/v1/domain/alternative",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update alternative domain"
        },
        {
          "info": {
            "name": "Delete alternative domain",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.pirsch.io/api/v1/domain/alternative",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "Delete alternative domain"
        }
      ]
    }
  ],
  "bundled": true
}