Skip to content

Deletes an empty space group.

A group that still contains spaces is refused, so no space is ever orphaned by this call.

Endpoint ​

  • Method: DELETE

  • Path: /spaces/space_groups/{id}

  • Edition: Core

  • Controller: SpaceController@deleteSpaceGroup

  • Route source: fluent-community/app/Http/Routes/api.php:38

  • Controller source: fluent-community/app/Http/Controllers/SpaceController.php

  • Requires 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​

DELETE
/spaces/space_groups/{id}

Deletes an empty space group.

Controller: SpaceController@deleteSpaceGroup
Route source: fluent-community/app/Http/Routes/api.php:38

Authorizations​

ApplicationPasswords

WordPress Application Passwords — use Basic auth with username:application_password.

Type
API Key (header: Authorization)

Parameters​

Path Parameters

id*

ID extracted from the URL path.

Type
integer
Required

Responses​

Successful response

application/json
JSON
{
  
"message": "string"
}

Playground​

Authorization
Variables
Key
Value

Samples​

Powered by VitePress OpenAPI

FluentCommunity developer documentation