Communities::Bans::UnbanAction
Create Ban Unban Action
Changed onEnqueue an async background job to unban one or more contacts from a community. The action record is returned immediately with status: queued. Poll GET /communities/bans/unban_actions/{id} until status is completed.
post/communities/{community_id}/bans/unban_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_bans_unban_action": {
"communities_bans_unban_action": {
"target_all": false,
"target_ids": [
"MnOpQr",
"StUvWx"
]
}
}
}Response
Created
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