kubernetes

Get the total number of kubernetes namespaces within the given Portainer environment.

Get the total number of kubernetes namespaces within the given environment, including the system namespaces. The total count depends on the user's role and permissions. Access policy: Authenticated user.

get/kubernetes/{id}/namespaces/count

Request

  • Base URL
    /api (relative, and the document was published on a file host, not at the API’s origin)
  • URL
    /api/kubernetes/{id}/namespaces/count
  • Auth
    API key in header X-API-KEY and API key in header Authorization

Path parameters

idinteger required

Environment identifier

Response

Success

integer required

Changes

No recorded changes to this operation across all 21 revisions of this API.