/v1/communities/{community_id}/assets/{asset_id}AuthDelete an asset — removes every stored rendition object, then the row.
Path parameters
community_id*stringCommunity UUID.
asset_id*string · uuidId of the asset.
Response · 204
Asset deleted.
Example
Request
DELETE https://social.productcraft.co/v1/communities/{community_id}/assets/{asset_id}
Authorization: Bearer YOUR_TOKENimport { Social } from "@productcraft/social";
// Reads PRODUCTCRAFT_API_KEY from the environment
const social = new Social();
await social.community("3f0c3c1e-8a2b-4c55-9d3f-0a1b2c3d4e5f").assets.delete("3f0c3c1e-8a2b-4c55-9d3f-0a1b2c3d4e5f");social.community(…).assets.delete(assetId, options?): void