Updates the specified RBAC of the cluster
PUT/v1/spectroclusters/:uid/config/rbacs/:rbacUid
Updates the specified RBAC of the cluster
Request
Path Parameters
Cluster uid
RBAC resource uid
Header Parameters
Scope the request to the specified project uid
- application/json
Body
Array [
Array [
]
]
metadata
object
ObjectMeta update entity with uid as input
annotations
object
labels
object
Name of the resource
Populated by the system. Read-only.
spec
object
Cluster RBAC spec
bindings
object[]
role
object
Cluster role ref
Possible values: [Role
, ClusterRole
]
subjects
object[]
Possible values: [User
, Group
, ServiceAccount
]
Possible values: [RoleBinding
, ClusterRoleBinding
]
relatedObject
object
Object for which the resource is related
Possible values: [spectrocluster
, machine
, cloudconfig
, clusterprofile
, pack
, appprofile
, appdeployment
, edgehost
]
Responses
- 204
The resource was updated successfully