Get All Role Bindings
Returns every user or group that currently has at least one role assigned, together
with the roles they hold. The id in each result is the value to use as binding-id
when calling GET, PUT, or DELETE /iam/role-bindings/{binding-id}.
Return only bindings for the user or group whose name contains this value.
Return only bindings that include at least one of these roles.
Offset pagination parameter used to exclude from a response the first N items of a resource collection. Combine the offset and the page_size options to request a particular set or page of items.
Number of records to be returned in the API request from the provided offset
True, if the list of records returned need to be sorted in ascending order, false otherwise.
The parameter name on which to sort the list of records. Only top-level parameters in the returned list of records will be supported. If not provided, system will define the parameter by which results are sorted.
The list of role bindings was retrieved successfully.
{
"offset": 0,
"number_of_results": 1,
"total_result_count": 1,
"total_pages": 1,
"sort_ascending": true,
"sort_by": "entity_name",
"results": [
{
"id": "5c4d9f2a-1234-4a11-9d3a-7e6f0b8c2d10",
"entity_name": "admin",
"user_type": "LOCAL_USER",
"roles": [
{
"role": "AUDITOR"
}
]
}
]
}
No role bindings exist because no LDAP identity source is configured yet.
Bad Request
{
"error_code": 0,
"module_name": "string",
"error_message": "string"
}
HTTP Status or Application error code.
Module where the error happened.
Message describing the error.
Unauthorized
{
"error_code": 0,
"module_name": "string",
"error_message": "string"
}
HTTP Status or Application error code.
Module where the error happened.
Message describing the error.
Forbidden
{
"error_code": 0,
"module_name": "string",
"error_message": "string"
}
HTTP Status or Application error code.
Module where the error happened.
Message describing the error.
Precondition Failed
{
"error_code": 0,
"module_name": "string",
"error_message": "string"
}
HTTP Status or Application error code.
Module where the error happened.
Message describing the error.
Precondition Required
{
"error_code": 0,
"module_name": "string",
"error_message": "string"
}
HTTP Status or Application error code.
Module where the error happened.
Message describing the error.
Too Many Requests
{
"error_code": 0,
"module_name": "string",
"error_message": "string"
}
HTTP Status or Application error code.
Module where the error happened.
Message describing the error.
4XX and 5XX type errors with appropriate message
{
"error_code": 0,
"module_name": "string",
"error_message": "string"
}
HTTP Status or Application error code.
Module where the error happened.
Message describing the error.
curl -H 'Authorization: <value>' https://{api_host}/https://{api_host}:{port}/lh-appliance/iam/role-bindings