{
  "opencollection": "1.0.0",
  "info": {
    "name": "HCP Terraform Modules Organizations API",
    "version": "2.0"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Organizations",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List Organizations",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://app.terraform.io/api/v2/organizations",
            "params": [
              {
                "name": "page[number]",
                "value": "",
                "type": "query",
                "description": "Page number for pagination"
              },
              {
                "name": "page[size]",
                "value": "",
                "type": "query",
                "description": "Number of results per page (max 100)"
              },
              {
                "name": "q",
                "value": "",
                "type": "query",
                "description": "Search query to filter organizations by name"
              }
            ]
          },
          "docs": "Lists all organizations accessible by the current token."
        },
        {
          "info": {
            "name": "Create an Organization",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://app.terraform.io/api/v2/organizations",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates a new organization."
        },
        {
          "info": {
            "name": "Get an Organization",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://app.terraform.io/api/v2/organizations/:organization_name",
            "params": [
              {
                "name": "organization_name",
                "value": "",
                "type": "path",
                "description": "The name of the organization"
              }
            ]
          },
          "docs": "Retrieves details for a specific organization."
        },
        {
          "info": {
            "name": "Update an Organization",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://app.terraform.io/api/v2/organizations/:organization_name",
            "params": [
              {
                "name": "organization_name",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Updates settings for an existing organization."
        },
        {
          "info": {
            "name": "Delete an Organization",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://app.terraform.io/api/v2/organizations/:organization_name",
            "params": [
              {
                "name": "organization_name",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Destroys an organization."
        }
      ]
    }
  ],
  "bundled": true
}