Delete a map's rating - Fluid Topics - Latest

Fluid Topics API Reference Guide

Category
Reference Guides
Audience
public
Version
Latest

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

Information

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

Method Endpoint
DELETE /api/khub/maps/{mapId}/rating
Path parameter Type Description
{mapId} String Expects the id associated with the map. Can be obtained by listing maps.
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 map exists with this identifier.

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