Skip to main content
PATCH
Change your display name, or give your birthday

Authorizations

Authorization
string
header
required

An API key (pch_...) or the token from pch login.

Body

application/json
name
string
Required string length: 1 - 64
birthdate
string

YYYY-MM-DD

Pattern: ^\d{4}-\d{2}-\d{2}$
Example:

"2008-04-17"

Response

Updated

id
string<uuid>
required
name
string
required
email
string
required
username
string | null
required
birthdate
string | null
required

YYYY-MM-DD, once given; only you see it

role
enum<string>
required
Available options:
user,
staff
orgs
object[]
required
auth
object
required