{
  "opencollection": "1.0.0",
  "info": {
    "name": "SwaggerHub Registry APIs Teams API",
    "version": "1.3.0"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "Authorization",
      "value": "{{Authorization}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "Teams",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get Organization Teams",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.swaggerhub.com/orgs/:org/teams",
            "params": [
              {
                "name": "org",
                "value": "",
                "type": "path"
              },
              {
                "name": "page",
                "value": "",
                "type": "query"
              },
              {
                "name": "limit",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "Returns a list of all teams within the specified organization."
        },
        {
          "info": {
            "name": "Create Team",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.swaggerhub.com/orgs/:org/teams",
            "params": [
              {
                "name": "org",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create a new team within an organization."
        },
        {
          "info": {
            "name": "Get Team Members",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.swaggerhub.com/orgs/:org/teams/:team/members",
            "params": [
              {
                "name": "org",
                "value": "",
                "type": "path"
              },
              {
                "name": "team",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Returns all members of a specific team within an organization."
        },
        {
          "info": {
            "name": "Add Team Member",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.swaggerhub.com/orgs/:org/teams/:team/members",
            "params": [
              {
                "name": "org",
                "value": "",
                "type": "path"
              },
              {
                "name": "team",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Add a user (must already be an org member) to a team."
        },
        {
          "info": {
            "name": "Remove Team Member",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.swaggerhub.com/orgs/:org/teams/:team/members/:user",
            "params": [
              {
                "name": "org",
                "value": "",
                "type": "path"
              },
              {
                "name": "team",
                "value": "",
                "type": "path"
              },
              {
                "name": "user",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Remove a user from a team (user remains an org member)."
        }
      ]
    }
  ],
  "bundled": true
}