v13

latestOpenAPI 3.0.0zlibraw.githubusercontent.com2026-08-01265409652.5 KB
teams

List teams

List teams. For non-administrator users, will only list the teams they are member of. Access policy: restricted

get/teams

Query parameters

onlyLedTeamsboolean

Only list teams that the user is leader of

environmentIdinteger

Identifier of the environment(endpoint) that will be used to filter the authorized teams

Response

Success

DenyPortainerAccessboolean

Whether members of this team are denied access to Portainer itself (EE only)

Idinteger

Team Identifier

Namestring

Team name

Example response

[
  {
    "Id": 1,
    "Name": "developers"
  }
]