Updates a space addressed by numeric id; the id is resolved to a slug and then handled exactly as the by-slug endpoint.
Endpoint
Method:
PUTPath:
/spaces/{spaceId}/by-idEdition: Core
Controller:
SpaceController@patchByIdRoute source:
fluent-community/app/Http/Routes/api.php:12Controller source:
fluent-community/app/Http/Controllers/SpaceController.phpRequires community-admin access or the admin role in this space.
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.
PUT Update Space By ID
Updates a space addressed by numeric id; the id is resolved to a slug and then handled exactly as the by-slug endpoint.
Controller: SpaceController@patchById
Route source: fluent-community/app/Http/Routes/api.php:12
Authorizations
WordPress Application Passwords — use Basic auth with username:application_password.
Parameters
Path Parameters
SpaceId extracted from the URL path.
Request Body
Responses
Successful response