Role Bindings (iam/v2)
List of Role Bindings
Retrieve a sorted, filtered, paginated list of all role bindings.
get/iam/v2/role-bindings
Query parameters
principalstring
Filter a collection by a string search
Filter the results by exact match for principal.
role_namestring
Filter a collection by a string search
Filter the results by exact match for role_name.
crn_patternstring required
Filter a collection by a string search
Filter the results by a partial search of crn_pattern.
page_sizeinteger
A pagination size for collection requests.
page_tokenstring
An opaque pagination token for collection requests.
Response
Role Binding.
Example response
{
"metadata": {
"first": "https://api.confluent.cloud/iam/v2/role-bindings",
"last": "https://api.confluent.cloud/iam/v2/role-bindings?page_token=bcAOehAY8F16YD84Z1wT",
"prev": "https://api.confluent.cloud/iam/v2/role-bindings?page_token=YIXRY97wWYmwzrax4dld",
"next": "https://api.confluent.cloud/iam/v2/role-bindings?page_token=UvmDWOB1iwfAIBPj6EYb",
"total_size": 123
},
"data": [
{
"id": "dlz-f3a90de",
"metadata": {
"self": "https://api.confluent.cloud/iam/v2/role-bindings/rb-12345",
"resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/role-binding=rb-12345",
"created_at": "2006-01-02T15:04:05-07:00",
"updated_at": "2006-01-02T15:04:05-07:00",
"deleted_at": "2006-01-02T15:04:05-07:00"
},
"principal": "User:u-111aaa",
"role_name": "CloudClusterAdmin",
"crn_pattern": "crn://confluent.cloud/organization=1111aaaa-11aa-11aa-11aa-111111aaaaaa/environment=env-aaa1111/cloud-cluster=lkc-1111aaa"
}
]
}Changes
No recorded changes to this endpoint across all 1 revision of this API.