{
  "opencollection": "1.0.0",
  "info": {
    "name": "NetBird REST Accounts Services API",
    "version": "0.0.1"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Services",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List available proxy clusters",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.netbird.io/api/reverse-proxies/clusters",
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Returns a list of available proxy clusters with their connection status"
        },
        {
          "info": {
            "name": "List all Services",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.netbird.io/api/reverse-proxies/services",
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Returns a list of all reverse proxy services"
        },
        {
          "info": {
            "name": "Create a Service",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.netbird.io/api/reverse-proxies/services",
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Creates a new reverse proxy service"
        },
        {
          "info": {
            "name": "Retrieve a Service",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.netbird.io/api/reverse-proxies/services/:serviceId",
            "params": [
              {
                "name": "serviceId",
                "value": "",
                "type": "path",
                "description": "The unique identifier of a service"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Get information about a specific reverse proxy service"
        },
        {
          "info": {
            "name": "Update a Service",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.netbird.io/api/reverse-proxies/services/:serviceId",
            "params": [
              {
                "name": "serviceId",
                "value": "",
                "type": "path",
                "description": "The unique identifier of a service"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Update an existing service"
        },
        {
          "info": {
            "name": "Delete a Service",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.netbird.io/api/reverse-proxies/services/:serviceId",
            "params": [
              {
                "name": "serviceId",
                "value": "",
                "type": "path",
                "description": "The unique identifier of a service"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Delete an existing service"
        },
        {
          "info": {
            "name": "Retrieve Service Domains",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.netbird.io/api/reverse-proxies/domains",
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Get information about domains that can be used for service endpoints."
        },
        {
          "info": {
            "name": "Create a Custom domain",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.netbird.io/api/reverse-proxies/domains",
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Create a new Custom domain for use with service endpoints, this will trigger an initial validation check"
        },
        {
          "info": {
            "name": "Delete a Custom domain",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.netbird.io/api/reverse-proxies/domains/:domainId",
            "params": [
              {
                "name": "domainId",
                "value": "",
                "type": "path",
                "description": "The custom domain ID"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Delete an existing service custom domain"
        },
        {
          "info": {
            "name": "Validate a custom domain",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.netbird.io/api/reverse-proxies/domains/:domainId/validate",
            "params": [
              {
                "name": "domainId",
                "value": "",
                "type": "path",
                "description": "The custom domain ID"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Trigger domain ownership validation for a custom domain"
        }
      ]
    }
  ],
  "bundled": true
}