kubernetes
Get a list of namespaces
Changed onGet a list of all namespaces within the given environment based on the user role and permissions. If the user is an admin, they can access all namespaces. If the user is not an admin, they can only access namespaces that they have access to. Access policy: Authenticated user.
get/kubernetes/{id}/namespaces
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
- AuthAPI key in header X-API-KEY and API key in header Authorization
Path parameters
idinteger required
Environment identifier
Query parameters
withResourceQuotaboolean
When set to true, include the resource quota information as part of the Namespace information. Default is false
withUnhealthyEventsboolean
When set to true, include the unhealthy events information as part of the Namespace information. Default is false
Response
Success
Changes
- info
the
queryrequest parameterwithResourceQuotabecame optional - info
the
queryrequest parameterwithUnhealthyEventsbecame optional
- info