UpdateUserRequest

A request or response body; the type column links to the schemas it refers to.

UpdateUserRequest

FieldTypeRequiredDescription
display_namestring | nullno

The name shown for the account everywhere; null clears it.

1–200 characters

disabledbooleanno

true switches the account off: its sessions end on their next page load, its tokens stop resolving, and sign-in is refused, while everything it owns stays. false switches it back on. A caller cannot disable their own account.

jsonExample
{
  "display_name": "Ada Lovelace",
  "disabled": true
}