v13

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

Get a list of kubernetes roles

Get a list of kubernetes roles that the user has access to. Access policy: Authenticated user.

get/kubernetes/{id}/roles

Path parameters

idinteger required

Environment identifier

Response

Success

creationDatestring
isSystemboolean

isSystem is true if prefixed with "system:" or exists in the kube-system namespace or is one of the portainer roles

namestring
namespacestring
uidstring