{
  "opencollection": "1.0.0",
  "info": {
    "name": "WatchGuard Cloud Platform API",
    "version": "v1"
  },
  "items": [
    {
      "info": {
        "name": "Accounts",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get Account Information",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.usa.cloud.watchguard.com/rest/platform/accounts/v1/accounts/:accountId",
            "params": [
              {
                "name": "accountId",
                "value": "",
                "type": "path",
                "description": "WatchGuard Cloud account ID (e.g., WGC-1-123abc456 or ACC-1234567)."
              },
              {
                "name": "fields",
                "value": "",
                "type": "query",
                "description": "Specify additional fields to include in the response."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Retrieve information about a WatchGuard Cloud account including contacts, addresses, parent account, and service properties."
        },
        {
          "info": {
            "name": "Create Account",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.usa.cloud.watchguard.com/rest/platform/accounts/v1/accounts/:accountId",
            "params": [
              {
                "name": "accountId",
                "value": "",
                "type": "path",
                "description": "WatchGuard Cloud account ID (e.g., WGC-1-123abc456 or ACC-1234567)."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Create a new WatchGuard Cloud managed account (service provider or subscriber)."
        },
        {
          "info": {
            "name": "Update Account",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://api.usa.cloud.watchguard.com/rest/platform/accounts/v1/accounts/:accountId",
            "params": [
              {
                "name": "accountId",
                "value": "",
                "type": "path",
                "description": "WatchGuard Cloud account ID (e.g., WGC-1-123abc456 or ACC-1234567)."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Update the name and primary contact details of a managed account."
        },
        {
          "info": {
            "name": "Delete Account",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.usa.cloud.watchguard.com/rest/platform/accounts/v1/accounts/:accountId",
            "params": [
              {
                "name": "accountId",
                "value": "",
                "type": "path",
                "description": "WatchGuard Cloud account ID (e.g., WGC-1-123abc456 or ACC-1234567)."
              },
              {
                "name": "force",
                "value": "",
                "type": "query",
                "description": "If true, delete the account and all managed sub-accounts."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Delete a managed WatchGuard Cloud account and optionally all its sub-accounts."
        },
        {
          "info": {
            "name": "Get Managed Accounts",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.usa.cloud.watchguard.com/rest/platform/accounts/v1/accounts/:accountId/children",
            "params": [
              {
                "name": "accountId",
                "value": "",
                "type": "path",
                "description": "WatchGuard Cloud account ID (e.g., WGC-1-123abc456 or ACC-1234567)."
              },
              {
                "name": "type",
                "value": "",
                "type": "query",
                "description": "Filter by account type (0=All, 1=Service Provider, 2=Subscriber)."
              },
              {
                "name": "sortBy",
                "value": "",
                "type": "query"
              },
              {
                "name": "sortOrder",
                "value": "",
                "type": "query"
              },
              {
                "name": "offset",
                "value": "",
                "type": "query"
              },
              {
                "name": "limit",
                "value": "",
                "type": "query"
              },
              {
                "name": "name",
                "value": "",
                "type": "query",
                "description": "Filter accounts by name."
              },
              {
                "name": "includeDelegatedAccounts",
                "value": "",
                "type": "query"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Retrieve a paginated list of accounts managed by the specified account."
        }
      ]
    },
    {
      "info": {
        "name": "Authorization",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get Audience Token",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.usa.cloud.watchguard.com/rest/platform/authorization/v1/audiences",
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Returns the audience parameter value for a managed account. Required by service providers when submitting API requests on behalf of a managed account."
        }
      ]
    },
    {
      "info": {
        "name": "Activations",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Activate Device or License",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.usa.cloud.watchguard.com/rest/platform/activation/v1/activate",
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Activate one or more WatchGuard hardware devices or software licenses by serial number or license key. Activation is asynchronous — use the status URL to poll for completion."
        },
        {
          "info": {
            "name": "Get Recent Activations",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.usa.cloud.watchguard.com/rest/platform/activation/v1/recentactivations",
            "params": [
              {
                "name": "offset",
                "value": "",
                "type": "query"
              },
              {
                "name": "limit",
                "value": "",
                "type": "query"
              },
              {
                "name": "sortBy",
                "value": "",
                "type": "query"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Retrieve a paginated list of recent activation batches."
        },
        {
          "info": {
            "name": "Get Activation Status",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.usa.cloud.watchguard.com/rest/platform/activation/v1/activationbatchstatuses/:batchId",
            "params": [
              {
                "name": "batchId",
                "value": "",
                "type": "path",
                "description": "Activation batch ID returned by the activate endpoint."
              },
              {
                "name": "offset",
                "value": "",
                "type": "query"
              },
              {
                "name": "limit",
                "value": "",
                "type": "query"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Retrieve the status of individual activation line items within a batch."
        }
      ]
    },
    {
      "info": {
        "name": "Allocations",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Allocate Asset",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.usa.cloud.watchguard.com/rest/platform/allocation/v2/:accountId/assets",
            "params": [
              {
                "name": "accountId",
                "value": "",
                "type": "path",
                "description": "WatchGuard Cloud account ID (e.g., WGC-1-123abc456 or ACC-1234567)."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Allocate hardware devices or software licenses from the parent account to a managed account."
        },
        {
          "info": {
            "name": "Deallocate Asset",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.usa.cloud.watchguard.com/rest/platform/allocation/v2/:accountId/assets",
            "params": [
              {
                "name": "accountId",
                "value": "",
                "type": "path",
                "description": "WatchGuard Cloud account ID (e.g., WGC-1-123abc456 or ACC-1234567)."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Remove an asset allocation from a managed account."
        },
        {
          "info": {
            "name": "Get Inventory Summary",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.usa.cloud.watchguard.com/rest/platform/allocation/v2/:accountId/assets/summary/:resourceType",
            "params": [
              {
                "name": "accountId",
                "value": "",
                "type": "path",
                "description": "WatchGuard Cloud account ID (e.g., WGC-1-123abc456 or ACC-1234567)."
              },
              {
                "name": "resourceType",
                "value": "",
                "type": "path",
                "description": "Type of resource (hardware or software)."
              },
              {
                "name": "allocationStatus",
                "value": "",
                "type": "query"
              },
              {
                "name": "offset",
                "value": "",
                "type": "query"
              },
              {
                "name": "limit",
                "value": "",
                "type": "query"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Retrieve asset inventory summary by allocation status for an account."
        }
      ]
    },
    {
      "info": {
        "name": "Operators",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Create Operators",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.usa.cloud.watchguard.com/rest/platform/operator-mgmt/v1/operators",
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Create one or more WatchGuard Cloud operator users for an account."
        },
        {
          "info": {
            "name": "Update Operators",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://api.usa.cloud.watchguard.com/rest/platform/operator-mgmt/v1/operators",
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Update existing WatchGuard Cloud operator user information."
        },
        {
          "info": {
            "name": "Delete Operators",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.usa.cloud.watchguard.com/rest/platform/operator-mgmt/v1/DeleteOperators",
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Delete one or more WatchGuard Cloud operator users."
        },
        {
          "info": {
            "name": "Get Operator Transaction Status",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.usa.cloud.watchguard.com/rest/platform/operator-mgmt/v1/TransactionStatus",
            "params": [
              {
                "name": "transaction_id",
                "value": "",
                "type": "query",
                "description": "Transaction ID returned by a create/update/delete operator request."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Check the status of a previously submitted operator management transaction."
        },
        {
          "info": {
            "name": "Get Operators by Account",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.usa.cloud.watchguard.com/rest/platform/operator-mgmt/v1/OperatorsByAccountId",
            "params": [
              {
                "name": "account_id",
                "value": "",
                "type": "query",
                "description": "WatchGuard Cloud account ID."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Retrieve all operator users associated with a WatchGuard Cloud account."
        }
      ]
    }
  ],
  "bundled": true
}