listRoles

fun listRoles(params: Map<String, String> = emptyMap()): List<GenericItem>

Retrieves a list of Roles from the Metron API.

Return

A list of Roles as GenericItem objects.

Parameters

params

A map of query parameters to filter the results.

Throws

If a generic error occurs during the API call.

If the provided credentials are invalid.

If the maximum number of retries is exceeded due to rate-limiting.