Users

Get current user

Changed on

Use to show the logged-in user's profile in the UI or to check permissions and roles for the current session.

get/users/me

Request

  • Base URL
    https://us.api.flexprice.io/v1
  • URL
    https://us.api.flexprice.io/v1/users/me
  • Auth
    API key in header x-api-key

Response

OK

emailstring

Empty for service accounts

idstring
metadataobject
namestring
rolesstring[]
type'user' | 'service_account'

Changes

    • warning

      added the new not_implemented enum value to the response property for the response status

    • warning

      added the new not_implemented enum value to the response property for the response status

    • breaking

      the / response's property type changed from no type to object for status

    • breaking

      the response's property type changed from no type to string for status

    • warning

      added the new service_account enum value to the response property for the response status

    • warning

      added the new user enum value to the response property for the response status