Retrieves specified workspace clusters workload rolebindings
POSThttps://api.spectrocloud.com/v1/dashboard/workspaces/:uid/spectroclusters/workloads/rolebinding
Retrieves specified workspace clusters workload rolebindings
Request
Path Parameters
uid stringrequired
Header Parameters
ProjectUid string
Scope the request to the specified project uid
- application/json
Body
filter
object
Responses
- 200
An array of clusters workload rolebindings
- application/json
- Schema
- Example (from schema)
Schema
clusters
object[]
metadata
object
{
"clusters": [
{
"bindings": [
{
"metadata": {
"creationTimestamp": "2024-07-29T15:51:28.071Z",
"entity": {
"kind": "string",
"name": "string",
"uid": "string"
},
"labels": {},
"namespace": "string"
},
"spec": {
"namespace": "string",
"role": {
"kind": "Role",
"name": "string"
},
"subjects": [
{
"name": "string",
"namespace": "string",
"type": "User"
}
],
"type": "RoleBinding"
}
}
],
"metadata": {
"kind": "spectrocluster",
"name": "string",
"uid": "string"
}
}
],
"metadata": {
"annotations": {},
"labels": {},
"name": "string"
}
}
- curl
- python
- go
- nodejs
- java
- CURL