Roles

Get the caller's roles

Returns the caller's two unrelated roles. membership_role is their role in this organization (owner, admin, member or viewer) and is what decides what they may do here. app_role is their account's app-wide product tier (pro or regular); it is not a permission level, so an organization owner normally reads regular.

<sub>Scope: org:read</sub>

get/v3/organizations/{orgId}/roles/me

Request

  • Base URL: https://api.reasonmachines.com
  • URL: https://api.reasonmachines.com/v3/organizations/{orgId}/roles/me
  • Auth: HTTP bearer

Response

The caller's organization role and account product tier.

user_idstring
membership_role'owner' | 'admin' | 'member' | 'viewer'

The caller's role in this organization. This is the role that decides what the caller may do in it, and it matches membership_role on the organization.

app_role'pro' | 'regular'

The caller's app-wide product tier, the same in every organization. It is not a permission level and says nothing about the caller's role in this organization; see membership_role.

Changes

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