Delete a document's rating - Fluid Topics - Latest

Fluid Topics API Reference Guide

Reference Guides

This web service lets an end-user delete the ratings they have given to an unstructured document.

This web service is available to both authenticated and unauthenticated users with the RATING_USER role.

Method Endpoint
DELETE /api/khub/documents/{docId}/rating
Path parameter Type Description
{docId} String Expects the id associated with the document. Can be obtained by listing documents.
Return code Description
204 NO CONTENT The rating was deleted.
401 UNAUTHORIZED The authorization header is absent or invalid and the portal's configuration does not allow unauthenticated users to rate content.
403 FORBIDDEN The user or API key does not have the RATING_USER role.
404 NOT FOUND No document exists with this identifier.

For a comprehensive list of all possible return codes, see Return codes.