latestOpenAPI 3.0.0zlibraw.githubusercontent.com2026-08-17288558922.3 KB

d7d5dff08b4c

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