deleteGroup( )


Deletes a group.

The deleteGroup() function returns a Promise that 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.

Note: If the suppressAuth option is set to true, all permissions are overwritten, and all site members (including non-group members) can delete a group.

Method Declaration
Copy
Method Parameters
groupIdstringRequired

ID of group to delete.


optionsOptions

Authorization options.

Returns
Return Type:Promise<Group>
Was this helpful?
Yes
No