Retrieves all roles available to a tenant
Result<TenantRoleViewModel[]> containing an array of role definitions with their permissions.
Identifier of the tenant whose roles are requested.
Identifier of the tenant whose resources should be queried.
1024
Roles retrieved successfully.
Wrapper for API operation results containing success status, error information, and return value.
True if the operation completed successfully, false otherwise.
true
True if the operation failed, false otherwise.
false
Error information returned when the operation fails.
{
"code": "ValidationError",
"message": "The request parameters failed validation.",
"info": [
"The Name field is required.",
"The Id field must be greater than 0."
]
}The result value returned when the operation is successful.