List environment roles

Retrieves a list of environment roles from your workspace.

EARLY ACCESS FEATURE
This access control endpoint is in limited preview. The access control model is under active development and may change. Contact your Customer Success Manager to participate in early access testing.

Headers

AuthorizationstringRequired

Bearer authentication of the form Bearer <token>, where token is your auth token.

Query parameters

namestringOptional
Filter environment roles by their name.
pagemap from strings to anyOptional
Configures settings for the environment role list.
page[number]integerOptional

The page number to retrieve. Defaults to 1.

page[size]integerOptional

The number of items per page to retrieve. Defaults to 100. Maximum is 100.

Response

Success reply
datalist of objects or null
totalinteger or null
Total number of environment roles returned.
pageobject or null

Errors