Roles

/roles

Get the list of roles available in a workspace (only supports guest roles currently).

Sorted by type ascending.

get/v1/roles

Request

  • Base URL
    api.air.inc (relative, and the document’s source URL is not known)
  • Auth
    • API key in header x-api-key and API key in header x-air-workspace-id
    • or HTTP bearer and API key in header x-air-workspace-id
  • TypeScript
    A function with typed inputs. Its response is checked against the schema.

Query parameters

type'guest'

Filter the roles by type

Response

Default

Changes

No recorded changes to this operation across all 2 revisions of this API.