Clears the link preview image stored on a post, leaving the rest of the post untouched.
Endpoint
Method:
DELETEPath:
/feeds/{feed_id}/media-previewEdition: Core
Controller:
FeedsController@deleteMediaPreviewRoute source:
fluent-community/app/Http/Routes/api.php:62Controller source:
fluent-community/app/Http/Controllers/FeedsController.phpRequires the same permission as deleting the post: the author, or the
delete_any_feedpermission globally or in the 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.
DELETE Delete Media Preview
Clears the link preview image stored on a post, leaving the rest of the post untouched.
Controller: FeedsController@deleteMediaPreview
Route source: fluent-community/app/Http/Routes/api.php:62
Authorizations
WordPress Application Passwords — use Basic auth with username:application_password.
Parameters
Path Parameters
Feed ID extracted from the URL path.
Responses
Successful response