Deletes an empty space group.
A group that still contains spaces is refused, so no space is ever orphaned by this call.
Endpoint
Method:
DELETEPath:
/spaces/space_groups/{id}Edition: Core
Controller:
SpaceController@deleteSpaceGroupRoute source:
fluent-community/app/Http/Routes/api.php:35Controller source:
fluent-community/app/Http/Controllers/SpaceController.phpRequires community-admin or course-admin access, or the admin role in the space named by
space_id.
Live sample
The request and response below were recorded against a running FluentCommunity install and then anonymised — member names, emails, avatars and post content are fictional, and long collections are trimmed to a few entries.
DELETE Delete Space Group
Deletes an empty space group.
Controller: SpaceController@deleteSpaceGroup
Route source: fluent-community/app/Http/Routes/api.php:35
Authorizations
WordPress Application Passwords — use Basic auth with username:application_password.
Parameters
Path Parameters
ID extracted from the URL path.
Responses
Successful response