Skip to main content
PATCH

Authorizations

pid_access
string
cookie
required

JWT access token set by /auth/google/callback or /auth/refresh

Body

application/json
displayName
string | null

Set to null to clear

Maximum string length: 64
avatarUrl
string<uri> | null

Set to null to clear

locale
string | null

e.g. en-US. Set to null to clear

Maximum string length: 16

Response

The updated profile

pid
string
required

Shared PK with Identity — the PID itself (permanent, immutable)

Pattern: ^[a-z0-9_]{3,20}@pid$
createdAt
string<date-time>
required
updatedAt
string<date-time>
required
displayName
string | null
Maximum string length: 64
avatarUrl
string<uri> | null
locale
string | null
Maximum string length: 16