deleteGroup( )


Deletes a group.

The deleteGroup() function returns a Promise resolves to the deleted group after it has successfully been deleted. Only site admins and group admins can delete their group. After the group is deleted, it is removed from both your site and the site's Dashboard.

Method Declaration
Copy
Method Parameters
groupIdstringRequired

ID of the group to delete.

Returns
Return Type:Promise<DeleteGroupResponse>
Errors

This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.

Did this help?