SweetConnect LogoSweetConnect
ApiAsset documents

Delete a link between a file and an asset

DELETE
/v1/documents/assets/{fileId}/{assetId}

Deletes the specified link between the given file and asset. If this was the only remaining link to the document, the document itself will be deleted automatically.

Access restricted to roles:

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

In: header

Path Parameters

fileId*string

The unique identifier of the file

assetId*string

The unique identifier of the asset

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X DELETE "https://example.com/v1/documents/assets/string/string"
Empty