get
https://api.travel.tech/v1/account/roles
Return every role people in the company account in the access token can hold: the built-in roles and the account's own, each with the id the Users list's roleIds filter takes. The account is taken from the token only. The list is a small, complete reference set, so it comes in one response and is not paginated. Only account administrators may read it.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
401Missing or invalid authentication
403The caller is not an administrator of the account
502Upstream returned a malformed role
503The account's roles are temporarily unavailable