Skip to main content
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

Parameters

PhotonVersion
Selects the API contract date. Without it, the request is served as 2026-07-01.
string
required
Identifies one logical mutation across retries.

Body

string
string | null

Returns

200 The updated account. Account Headers: Photon-Version. The raw response carries these headers; see Raw responses.
string
required
string (date-time) | null
required
string (date-time) | null
required
string
required
Email address supplied by the identity provider.
string | null
required
AccountImpersonator
Present only while a WorkOS dashboard admin is impersonating this account: the admin’s email. Attribution only; grants nothing.
string | null
required
string | null
required
string (date-time) | null
required
string (uri)
required
string (date-time) | null
required