PATCH /v1/account
Updates the supplied firstName and lastName fields on the authenticated account and returns the updated profile. Only the documented profile fields can be changed through this endpoint; profile-picture uploads and phone-number verification use their dedicated operations. Supply the required Idempotency-Key header.
- TypeScript
- Python
- Rust
- Go
TypeScript
Parameters
Body
Returns
200 The updated account. Account
Headers: Photon-Version. The raw response carries these headers; see Raw responses.
Present only while a WorkOS dashboard admin is impersonating this account: the admin’s email. Attribution only; grants nothing.