This web service deletes an attachment from publications based on a metadata selection.
Two methods are available to remove a map attachment:
- This web service is only available to users or API keys with the
ADMIN
,KHUB_ADMIN
, orCONTENT_PUBLISHER
role. - Users or API keys with the
CONTENT_PUBLISHER
role can only add or update a map attachment for a document published through a source they have permissions for. - It is necessary to define user credentials in the HTTP header when calling this web service.
A map attachment can be removed from all publications in the portal as follows:
/api/admin/khub/maps/attachments?ft:isPublication=true