approveCreateRequests( )


Approves requests to create a group.

Note: This function is only relevant if admin approval is required for creating a group, or if the function's suppressAuth option is set to true.

The approveCreateRequests() function returns a Promise that resolves when a site member's request to create a group is approved. Only site admins can approve requests to create a group. When the request is approved, the new group is added to the Groups List page of your site.

Note: If the suppressAuth option is set to true, all permissions are overwritten, and all site members can approve requests to create a group.

Method Declaration
Copy
Method Parameters
createRequestIdsArray<string>Required

IDs of the create requests to approve.


optionsOptions

Authorization options.

Returns
Return Type:Promise<Array<CreateRequest>>
Did this help?