SweetConnect LogoSweetConnect
ApiAsset pictures

Delete asset picture by asset ID

DELETE
/v1/pictures/asset/{assetId}

Removes the picture associated with the specified asset. This operation is irreversible. If no picture exists for the asset, the operation is silently ignored.

Access restricted to roles:

  • admin
  • manufacturer-admin
  • manufacturer-user
  • producer-admin
  • producer-user
AuthorizationBearer <token>

In: header

Path Parameters

assetId*string

The ID of the asset whose picture should be deleted

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X DELETE "https://example.com/v1/pictures/asset/1214d120-9b80-48cd-bf78-4e353773af5f"
Empty