Roles

List roles

Get a list of roles. Use cursor-based pagination to limit the number of entries in the list using limit and before or after query params.

get/v1/roles

Request

  • Base URL: https://demo.getcollate.io/api
  • URL: https://demo.getcollate.io/api/v1/roles
  • Auth: HTTP bearer

Query parameters

defaultboolean
Example:true

List only default role(s)

fieldsstring
Example:policies,teams,users

Fields requested in the returned resource

limitinteger

Limit the number tables returned. (1 to 1000000, default = 10)

beforestring

Returns list of tables before this cursor

afterstring

Returns list of tables after this cursor

include'all' | 'deleted' | 'non-deleted'

Include all, deleted, or non-deleted entities.

Response

List of roles

warningsCountinteger

Changes

No recorded changes to this operation across all 1 revision of this API.