cURL
Users
Update User
PATCH
cURL
Path Parameters
User ID
Body
application/json
Response
User updated
User creation timestamp.
Example:
"2026-01-15T12:34:56"
Last user update timestamp.
Example:
"2026-01-15T12:34:56"
User lifecycle status.
Available options:
ONBOARDING, ACTIVE, DEACTIVATED A validated 12-digit numeric user identifier.
Every external entry point validates:
- JSON
Deserializeruns [UserId::parse] (outer whitespace trimmed, length and digit-only enforced) via#[serde(try_from = "String")]. - DB
FromSqlruns [UserId::parse] on every row read.
Display / Deref<Target = str> / AsRef<str> / Into<String> are
derived via derive_more — the inner String is pass-through for
every read-only borrow, display, and move-out.
Example:
"012345678901"
Structured address details for user profiles and insurance documents.
Date of birth as "YYYY-MM-DD".
Example:
"2000-01-15"
User gender.
Available options:
MALE, FEMALE, OTHER