Delete Map Attachments by origin ID - Fluid Topics - 3.6

Use Fluid Topics Web API

Product
Fluid Topics
FT_Version
3.6
Category
Technical Notes
language
English

The following lines show how to remove a map attachment by using its origin ID:

Method

Endpoint

DELETE

/api/admin/khub/maps/attachments?metadata1=value1&...&metadataN=valueN

Where metadata=value is any metadata key-value couple defining the publications to delete.

Input example

The following lines show an example of map attachment deletion using the id as the origin ID (when an id has been defined):

{
"attachments": ["my_attachment"]
}

The following lines show an example of map attachment deletion using the filename as the origin ID (when the id has not been defined):

{
"attachments": ["oleandor.jpg"]
}

Where:

  • attachments is the list of map attachments (id or filename) to be deleted.

Return codes

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 Fluid Topics Server failed to respond.