API ReferenceGet current user username settings GETPrevious PageGet or generate the current user referral code GETNext Page
API ReferenceSet the current user username PATCHSet the current user usernameCopy MarkdownOpenServer URLloading...PATCH/me/settings/usernameSendAuthorizationBodyAuthorizationbearer AuthorizationBearer <token>In: headerRequest Bodyapplication/jsonTypeScript DefinitionsUse the request body type in TypeScript.CopyResponse Body204401500cURLJavaScriptGoPythonJavaC#Rustcurl -X PATCH "https://example.com/me/settings/username" \ -H "Content-Type: application/json" \ -d '{ "username": "string" }'204401500Empty