Delete a map attachment by khubId - Fluid Topics - Latest

Fluid Topics API Reference Guide

Category
Reference Guides
Audience
public
Version
Latest

This web service removes a map attachment using its khubId.

Method Endpoint
DELETE /api/admin/khub/maps/attachments?metadata1=value1&...&metadataN=valueN
Query string parameter Type Required? Description
metadata=value String Yes Any metadata key-value couple defining the publications to delete.

Request example

{
  "mode": "khubId",
    "attachments": [
      "v2bkAcAkzrwKskNkD6~5qQ"
    ]
}
Field Type Description
mode String The deletion mode of the map attachment.
attachments Array The list with the khubId of each map attachment to be deleted. The khubId can be retrieved when listing the map attachments in the viewerUrl property.
Return code Description
202 ACCEPTED The update instruction was sent to the Fluid Topics processing pipeline.
400 BAD REQUEST Invalid query.
500 INTERNAL SERVER ERROR The server could not process the request.