Communities::Memberships::BanAction
Fetch Membership Ban Action
Retrieve the current status of a membership ban action. Poll this endpoint until status is completed.
get/communities/memberships/ban_actions/{id}
Path parameters
idstring required
Response
OK
Example response
{
"id": 501,
"public_id": "BnAcT1",
"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",
"reason": "Violated community guidelines"
}