Rename the authenticated caller
Sets or clears the caller’s own name. A user is one person across every organization they belong to, so the name shows in each of them. A later sign-in names a user who has none from the identity provider, and never replaces a name.
PATCH
/v1/meAuthorization
AuthorizationBearer token · headerrequiredRequest body
requiredapplication/jsondisplay_namestring | nullrequiredThe caller's new name, trimmed of surrounding whitespace, or `null` to
clear it.
min length 1 · max length 200
Responses
200Renamed.
organizationMeOrgBodyrequiredShow propertiesHide properties
handlestringrequiredidstring<uuid>requirednamestringrequiredroleOrgRoleBodyrequiredWhat a member may do in the organization. An admin manages members,
invitations, and billing; a member does not.
Allowed:
adminmemberuserMeUserBodyrequiredShow propertiesHide properties
display_namestring | nullrequiredidstring<uuid>requiredprimary_emailstring | nullrequired400Malformed body, or a name blank or outside the bound.
errorErrorDetailrequiredWhat went wrong: a `code` to branch on and a `message` to show. The
message is written for a person and may change; the code will not.
Show propertiesHide properties
codeErrorCoderequiredThe machine-readable half of an error response, and the field a client
branches on. Closed: every error carries exactly one of these.
Allowed:
unauthorizedforbiddennot_foundinvalid_requestconflictclient_outdatedprecondition_failedtoo_many_requestsinternalmessagestringrequired401Missing, malformed, or invalid bearer token.
errorErrorDetailrequiredWhat went wrong: a `code` to branch on and a `message` to show. The
message is written for a person and may change; the code will not.
Show propertiesHide properties
codeErrorCoderequiredThe machine-readable half of an error response, and the field a client
branches on. Closed: every error carries exactly one of these.
Allowed:
unauthorizedforbiddennot_foundinvalid_requestconflictclient_outdatedprecondition_failedtoo_many_requestsinternalmessagestringrequired