Users

Update current user

Changed on

Update the current authenticated user. Supports name and metadata updates.

put/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

Request body

metadataobject
namestring

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