Retract User Entity Rates
Delete a rating from an entity.
This operation deletes rate made by the current user to the Entity.
Request
DELETE {TenantURL}/{entity object URI}/rate
Parameter | Required | Details | |
---|---|---|---|
Headers | Authorization |
Yes | Information about authentication access token in format "Bearer
<accessToken> " (see details in Authentication API). |
Response
JSON Object representing result of a delete operation. Result contains:
status
- result of operation; possible values are "OK
" or "failed
"error
- if object cannot be deleted for some reason. Contains details of the problem. Returns only if an object was not deleted.
Request
DELETE {TenantURL}/entities/e1/rate
Headers: Authorization: Bearer 204938ca-2cf7-44b0-b11a-1b4c59984512
Response
DELETE {TenantURL}/entities/e1/rate
Headers: Authorization: Bearer 204938ca-2cf7-44b0-b11a-1b4c59984512
{
"status": "OK"
}