Classic APIs
ClassicUsersApi
authenticatedUserRoles

authenticatedUserRoles

Gets the currently authenticated user's roles.

Example

const { data: roles } = await ClassicUsersApi.authenticatedUserRoles(); 

Example Data

["BetaTester"] 

Endpoint

GET /v1/users/authenticated/roles