Delete a map attachment - Fluid Topics - Latest

Fluid Topics API Reference Guide

Category
Reference Guides
Audience
public
Version
Latest

This web service deletes an attachment from publications based on a metadata selection.

Two methods are available to remove a map attachment:

  1. Using its khubId.
  2. Using its originId.
  • This web service is only available to users or API keys with the ADMIN, KHUB_ADMIN, or CONTENT_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