{
  "opencollection": "1.0.0",
  "info": {
    "name": "Kong Enterprise Admin ACLs Portal Team Membership API",
    "version": "3.14.0"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "Kong-Admin-Token",
      "value": "{{Kong-Admin-Token}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "Portal Team Membership",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List Developer Teams",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{protocol}://{hostname}:{port}{path}/v3/portals/:portalId/developers/:developerId/teams",
            "params": [
              {
                "name": "developerId",
                "value": "",
                "type": "path",
                "description": "ID of the developer."
              },
              {
                "name": "portalId",
                "value": "",
                "type": "path",
                "description": "ID of the portal."
              },
              {
                "name": "page[size]",
                "value": "",
                "type": "query",
                "description": "The maximum number of items to include per page. The last page of a collection may include fewer items."
              },
              {
                "name": "page[number]",
                "value": "",
                "type": "query",
                "description": "Determines which page of the entities to retrieve."
              },
              {
                "name": "filter",
                "value": "",
                "type": "query",
                "description": "Filter teams returned in the response."
              }
            ]
          },
          "docs": "Lists the teams to which a developer belongs. Each team a developer is a member of grants them various roles that provide permissions to perform actions on certain resources."
        },
        {
          "info": {
            "name": "List Team Developers",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{protocol}://{hostname}:{port}{path}/v3/portals/:portalId/teams/:teamId/developers",
            "params": [
              {
                "name": "portalId",
                "value": "",
                "type": "path",
                "description": "ID of the portal."
              },
              {
                "name": "teamId",
                "value": "",
                "type": "path",
                "description": "ID of the team."
              },
              {
                "name": "page[size]",
                "value": "",
                "type": "query",
                "description": "The maximum number of items to include per page. The last page of a collection may include fewer items."
              },
              {
                "name": "page[number]",
                "value": "",
                "type": "query",
                "description": "Determines which page of the entities to retrieve."
              },
              {
                "name": "filter",
                "value": "",
                "type": "query",
                "description": "Filter developers returned in the response."
              }
            ]
          },
          "docs": "List a team's developers."
        },
        {
          "info": {
            "name": "Add Developer to Team",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{protocol}://{hostname}:{port}{path}/v3/portals/:portalId/teams/:teamId/developers",
            "params": [
              {
                "name": "portalId",
                "value": "",
                "type": "path",
                "description": "ID of the portal."
              },
              {
                "name": "teamId",
                "value": "",
                "type": "path",
                "description": "ID of the team."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Adds a developer to a team. This associates them with all of the roles that have been assigned to the team, providing specific permissions to perform actions on resources."
        },
        {
          "info": {
            "name": "Remove Developer from Team",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{protocol}://{hostname}:{port}{path}/v3/portals/:portalId/teams/:teamId/developers/:developerId",
            "params": [
              {
                "name": "portalId",
                "value": "",
                "type": "path",
                "description": "ID of the portal."
              },
              {
                "name": "developerId",
                "value": "",
                "type": "path",
                "description": "ID of the developer."
              },
              {
                "name": "teamId",
                "value": "",
                "type": "path",
                "description": "ID of the team."
              }
            ]
          },
          "docs": "Removes a developer from a team. This removes the association of the team's roles from the developer."
        }
      ]
    }
  ],
  "bundled": true
}