Delete an attachment by khubId - Fluid Topics - Latest

Fluid Topics API Reference Guide

Category
Reference Guides
Audience
public
Version
Latest

This web service removes an attachment using its khubId.

Method Endpoint
DELETE
/api/admin/khub/documents/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 attachment.
attachments Array The list with the khubId of each attachment to be deleted.
Return code Description
202 ACCEPTED The update instruction was sent to the Fluid Topics processing pipeline.
400 BAD REQUEST Invalid query.