{
  "opencollection": "1.0.0",
  "info": {
    "name": "Kong Enterprise Admin ACLs Portal Team Roles API",
    "version": "3.14.0"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "Kong-Admin-Token",
      "value": "{{Kong-Admin-Token}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "Portal Team Roles",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List Portal Roles",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{protocol}://{hostname}:{port}{path}/v3/portal-roles"
          },
          "docs": "List roles that can be assigned to teams in a portal. Each role provides a set of permissions to perform an action on a resource."
        },
        {
          "info": {
            "name": "List Team Roles",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{protocol}://{hostname}:{port}{path}/v3/portals/:portalId/teams/:teamId/assigned-roles",
            "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."
              }
            ]
          },
          "docs": "Lists the roles belonging to a developer team. Each role provides permissions to perform actions on a specified resource or collection."
        },
        {
          "info": {
            "name": "Assign Role",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{protocol}://{hostname}:{port}{path}/v3/portals/:portalId/teams/:teamId/assigned-roles",
            "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."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Assign a role to a developer team. This associates the set of permissions in a role with the team, so that they will be applied to any developer who is a member of the team."
        },
        {
          "info": {
            "name": "Remove Role",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{protocol}://{hostname}:{port}{path}/v3/portals/:portalId/teams/:teamId/assigned-roles/:roleId",
            "params": [
              {
                "name": "roleId",
                "value": "",
                "type": "path"
              },
              {
                "name": "portalId",
                "value": "",
                "type": "path",
                "description": "ID of the portal."
              },
              {
                "name": "teamId",
                "value": "",
                "type": "path",
                "description": "ID of the team."
              }
            ]
          },
          "docs": "Removes an assigned role from a developer team. This deletes the association of the role with team and each of its members."
        }
      ]
    }
  ],
  "bundled": true
}