Communities::Memberships::RemoveFromGroupAction
Create Membership Remove-From-Group Action
Changed onEnqueue an async background job to remove one or more community members from one or more spaces (groups). The action record is returned immediately with status: queued. Poll GET /communities/memberships/remove_from_group_actions/{id} until status is completed.
post/communities/{community_id}/memberships/remove_from_group_actions
Request
- Base URLhttps://myworkspace.myclickfunnels.com/api/v2
- Auth
- HTTP bearer
- or OAuth 2Authorization codehttps://accounts.myclickfunnels.com/oauth/authorizeToken URLhttps://accounts.myclickfunnels.com/oauth/token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
community_idstring required
Request body
Example request
{
"communities_memberships_remove_from_group_action": {
"communities_memberships_remove_from_group_action": {
"target_all": false,
"target_ids": [
"AbCdEf",
"GhIjKl"
],
"space_ids": [
"SpAcEa"
]
}
}
}Response
Created
Example response
{
"id": 503,
"public_id": "RmGrP1",
"community_id": 1,
"target_all": false,
"target_ids": [
101,
102
],
"failed_ids": [],
"target_count": 2,
"performed_count": 2,
"started_at": "2025-01-01T00:01:00.000Z",
"completed_at": "2025-01-01T00:01:05.000Z",
"created_at": "2025-01-01T00:00:00.000Z",
"updated_at": "2025-01-01T00:01:05.000Z",
"status": "completed",
"space_ids": [
10,
11
]
}Changes
- info
for the
pathrequest parametercommunity_id, the type was generalized fromintegertostring - info
added the non-success response with the status
- info
added the optional property
to the response with the status - info
added the optional property
to the response with the status
- info