Delete a source - Fluid Topics - Latest

Fluid Topics API Reference Guide

Category
Reference Guides
Audience
public
Version
Latest

This web service deletes a single source from a Fluid Topics portal.

Method Endpoint
DELETE /api/admin/khub/sources/{sourceId}
Path parameter Type Description
{sourceId} String The identifier of the source to be deleted.
Return code Endpoint
204 OK The source is deleted.
400 BAD REQUEST
  • The Back Office cannot delete the source.
  • OR
  • The source cannot be deleted because it is a default source.
401 UNAUTHORIZED The authorization header is absent or invalid.
403 FORBIDDEN The user of API key does not have the required rights to delete a source.
404 NOT FOUND The source to delete was not found. Check the source ID.
500 INTERNAL SERVER ERROR The server could not process the request.
  • Deleting a source removes ALL documents uploaded through this source.
  • This web service is only available to users or API keys with the ADMIN or KHUB_ADMIN role.