Updates the profile and/or settings in a group.

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

The current user must be an administrator in the group.

This method requires the following permissions: groups.

Parameters

group_id
integer (positive)

Group identifier.

name
string

Group name.

description
string

Group description (HTML).

screen_name
string

The profile URL a.k.a. the username.

site
string

The website URL from the group's profile.

access_type
enum

Determines how new members can join this group and what is visible to non-members. Events can't be closed.

Possible values: open, closed, private.

start_date
integer

The unixtime when the event starts (events only).

finish_date
integer

The unixtime when the event ends (events only).

place
string

The name of the place and/or address where this event will take place (events only).

wall
enum

Wall mode.

  • open – Anyone who can access the group can post on the wall.
  • restricted – Only group managers can post on the wall, but anyone can comment.
  • closed – Only group managers can post on the wall. Commenting is disabled.
  • disabled – Wall is completely disabled and hidden.
photos
enum

Photo albums mode.

  • restricted – Only group managers can create new albums.
  • disabled – Non-system photo albums are disabled and hidden.
board
enum

Discussion board mode.

  • open – Anyone who can access the group can create new topics.
  • restricted – Only group managers can create new topics.
  • disabled – Discussion board is disabled and hidden.

Result

Returns true on success.

Errors

Global errors may occur when calling this method.