Skip to content
Get started

Update user

client.users.update(stringexistingUsername, UserUpdateParams { id, email, firstName, 5 more } body?, RequestOptionsoptions?): void
put/user/{username}

This can only be done by the logged in user.

ParametersExpand Collapse
existingUsername: string
body: UserUpdateParams { id, email, firstName, 5 more }
id?: number
email?: string
firstName?: string
lastName?: string
password?: string
phone?: string
username?: string
userStatus?: number

User Status

formatint32
Update user
import ArenaDemoDayDemoDocsDemoSite from 'arena-demo-day-demo-docs-demo-site-and-typescript-library';

const client = new ArenaDemoDayDemoDocsDemoSite({
  apiKey: 'My API Key',
});

await client.users.update('username');
Returns Examples