Management profile
| Endpoint | What it does |
|---|---|
GET /v1/auth/management/me | Returns the authenticated manager's global profile. |
PATCH /v1/auth/management/me | Updates displayName and/or preferredLocale. Any other field is rejected. |
This endpoint only accepts a token with principal_type=management.
Against a participant (user), PDV, or cashier token, it responds 401 AUTHENTICATION_PROFILE_MISMATCH — even when the call arrives
cookie-authenticated, wallet-edge already blocks it before proxying.
Until an earlier version, this same path answered for GET/PATCH /v1/me, shared with the participant. If some older client still points
there, it needs to migrate — see Authentication and
profiles for the full before/after.
preferredLocale accepts pt-BR, en-US, or es-ES. It's also used as
the language fallback when sending an organization invitation, when the
invitee doesn't yet have a profile with a locale set.