Updates the "General" section in the current user's profile.

Omitting a parameter means that that property remains unchanged. To clear a property (except first_name), pass an empty string.

This method requires the following permissions: account.

Parameters

first_name
string

First name. Can't be cleared. If an empty string is passed, the first name will remain unchanged.

nickname
string

Nickname or middle name.

last_name
string

Last name.

maiden_name
string

Maiden name.

sex
enum

Preferred grammatical gender used to choose pronouns in strings that refer to the current user.

  • none – equivalent to "none selected" on the web
  • male – he/him
  • female – she/her
  • other – they/them
bdate
string

Birth date as DD.MM.YYYY.

hometown
string

Hometown.

relation
enum

Relationship status.

Possible values: none, single, in_relationship, engaged, married, in_love, complicated, actively_searching.

relation_partner_id
integer

Identifier of the relationship partner.

All relationship statuses except none, single, and actively_searching can have a partner. All of those, except in_love, require the partner to set the current user as their partner to show up on both their profiles.

Result

Returns true on success.

Errors

Global errors may occur when calling this method.