post
https://production-api.shoutaboutus.com/api/v1/custom-landing-page/deleteFile
Remove one image (logo, thumbnail or footer logo) from a company's landing_page widget: deletes the file from S3, clears the corresponding slot in the stored options, and returns the refreshed options blob (with S3 URLs re-resolved).
Auth
- Account bearer.
company_idmust sit inside your own account tree.
Rate limit
- No rate limit.
Body
| Field | Type | Required | Notes |
|---|---|---|---|
company_id | integer | Required | Must be an existing account inside your own account tree. |
imageType | string | Optional | One of logo, thumbnail, footerLogo; any other value fails validation (422). Omitting it (or sending null) is a no-op. |
Behaviour
200with{ status, message, data };datais the refreshed options blob (or[]when the widget has no options).422ifcompany_idis missing/invalid/out of hierarchy, orimageTypeis not one of the allowed values.- Returns an
errorenvelope (Account not found!) if the company does not exist.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
