{
  "opencollection": "1.0.0",
  "info": {
    "name": "Tetrate Service Bridge REST APIs Organizations API",
    "version": "2.0"
  },
  "request": {
    "auth": {
      "type": "basic",
      "username": "{{username}}",
      "password": "{{password}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Organizations",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List Organizations",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{tsb-host}:8443/v2/organizations"
          },
          "docs": "Returns a list of all TSB organizations."
        },
        {
          "info": {
            "name": "Create Organization",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{tsb-host}:8443/v2/organizations",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates a new TSB organization."
        },
        {
          "info": {
            "name": "Get Organization",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{tsb-host}:8443/v2/organizations/:organization",
            "params": [
              {
                "name": "organization",
                "value": "",
                "type": "path",
                "description": "Organization name"
              }
            ]
          },
          "docs": "Returns the details of a specific organization."
        },
        {
          "info": {
            "name": "Update Organization",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://{tsb-host}:8443/v2/organizations/:organization",
            "params": [
              {
                "name": "organization",
                "value": "",
                "type": "path",
                "description": "Organization name"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Updates an existing organization. The etag from a GET must be included."
        },
        {
          "info": {
            "name": "Delete Organization",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://{tsb-host}:8443/v2/organizations/:organization",
            "params": [
              {
                "name": "organization",
                "value": "",
                "type": "path",
                "description": "Organization name"
              }
            ]
          },
          "docs": "Deletes an organization and all its child resources."
        }
      ]
    }
  ],
  "bundled": true
}