Marketplace

Unpublish a marketplace listing by source item id

DELETE
/api/marketplace/by-item/{itemId}

Find the active PublishedItem whose source itemId matches and delete it, along with every UserAcquiredItem that referenced it. Admin/Superadmin only; ADMIN must also be the original publisher.

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

itemId*string

Response Body

application/json

application/json

application/json

application/json

curl -X DELETE "https://example.com/api/marketplace/by-item/string"
{  "success": true,  "message": "Marketplace listing removed and 3 acquisitions cleaned up"}