Communities (Admin)

Get community deletion preview (Admin)

GET/manage/communities/:id/deletion-preview

Return how much will disappear when the community is deleted, and the organized events that have not ended (which block deletion). Admins only.

AuthLogin required
Available toOfficial 4S apps only (other apps' access tokens get 403)

Path parameters

idstringrequired

Community ID.

Response

FieldTypeDescription
counts.membersnumberApproved members, including admins.
counts.messagesnumberChat messages.
counts.filesnumberFiles in the chat file library.
counts.playlistsnumberPlaylists.
counts.announcementsnumberAnnouncements.
counts.exchangedCardsnumberPeople the community exchanged business cards with.
blockingEvents{ id, title, slug }[]Organized events that have not ended. Deletion is refused while any remain.
Request
curl https://api.4s.link/manage/communities/ID/deletion-preview \
-H "Authorization: Bearer 4s_at_..."
Example response
{
"counts": {
"members": 42,
"messages": 1280,
"files": 15,
"playlists": 2,
"announcements": 8,
"exchangedCards": 30
},
"blockingEvents": []
}