Skip to content

Clears the link preview image stored on a post, leaving the rest of the post untouched.

Endpoint

  • Method: DELETE

  • Path: /feeds/{feed_id}/media-preview

  • Edition: Core

  • Controller: FeedsController@deleteMediaPreview

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

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

  • Requires the same permission as deleting the post: the author, or the delete_any_feed permission 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

DELETE
/feeds/{feed_id}/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

ApplicationPasswords

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

Type
API Key (header: Authorization)

Parameters

Path Parameters

feed_id*

Feed 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