List Roles
Retrieve a list of all roles in the cluster.Endpoint
Query Parameters
The kubeconfig identifier for the cluster connection
The cluster name to query
Filter roles by namespace. If not provided, returns roles from all namespaces.
Response
Returns an array of role objects.Unique identifier for the role
The namespace where the role is located
The name of the role
Creation timestamp of the role
Role specification
Example Request
Example Response
Get Role Details
Retrieve detailed information about a specific role.Endpoint
Path Parameters
The name of the role
Query Parameters
The kubeconfig identifier for the cluster connection
The cluster name to query
The namespace where the role is located
Example Request
Get Role YAML
Retrieve the YAML manifest of a role.Endpoint
Path Parameters
The name of the role
Query Parameters
The kubeconfig identifier for the cluster connection
The cluster name to query
The namespace where the role is located
Example Request
Get Role Events
Retrieve events related to a specific role.Endpoint
Path Parameters
The name of the role
Query Parameters
The kubeconfig identifier for the cluster connection
The cluster name to query
The namespace where the role is located
Example Request
Delete Role
Delete one or more roles.Endpoint
Query Parameters
The kubeconfig identifier for the cluster connection
The cluster name to query
The namespace where the role is located
The name of the role to delete. Can be a comma-separated list for multiple deletions.