List custom roles

Get a complete list of custom roles. This includes project and organization roles that you create, or that are provided as presets by LaunchDarkly. It does not include base roles.

Headers

AuthorizationstringRequired

Query parameters

limitlongOptional
The maximum number of custom roles to return. Defaults to 20.
offsetlongOptional

Where to start in the list. Defaults to 0. Use this with pagination. For example, an offset of 10 skips the first ten items and then returns the next items in the list, up to the query limit.

Response

Custom roles collection response
itemslist of objects
An array of custom roles
totalCountintegerOptional
The total number of custom roles

Errors