Communities (Admin)
Delete community (Admin)
DELETE
/manage/communities/:idDelete a community. Admins only. Chat messages and files, members, playlists, announcements and exchanged business cards all disappear with it, and this cannot be undone. Returns 409 while organized events have not ended. As confirmation, set confirmName to the exact community name (400 if it does not match).
| Auth | Login required |
|---|---|
| Available to | Official 4S apps only (other apps' access tokens get 403) |
Path parameters
idstringrequiredCommunity ID.
Request body
confirmNamestringrequiredThe community name, as confirmation. Must match exactly.
Response
| Field | Type | Description |
|---|---|---|
id | string | ID of the deleted resource. |
Request
curl https://api.4s.link/manage/communities/ID \-X DELETE \-H "Authorization: Bearer 4s_at_..."
Example response
{"id": "c1a2b3c4-..."}