Help Search

Remove a favorite

To remove a resource from your favorite list:

DELETE /favorites/<favoriteId>.json?api-version=v2

Possible responses

Code Description
200 OK
Request went through. Given resource has been added to favorite
400 Bad Request
If the given favoriteId is not a uuid
403 Authentication Failure
The user making the request is not authenticated
404 Not Found
If the favorite does not exist.

Response Example

Success

{
    "header": {
        "id": "baae23fe-5ee9-46fa-8e19-1d6dc5fb2dd1",
        "status": "success",
        "servertime": 1555067661,
        "title": "app_favorites_delete_success",
        "action": "8fb44391-6155-5bff-a3d5-57dea22c9894",
        "message": "The favorite was deleted.",
        "url": "/favorites/288050d2-25b0-4c04-a959-2fc6f4011208.json?api-version=v2",
        "code": 200
    },
    "body": null
}

Last updated

This article was last updated on April 23rd, 2019.

If you are familiar with the high level API concepts and only looking for the endpoint implementation details, there is a repository with the latest OpenAPI 2.0 specifications (compatible with Swagger).

OpenAPI Specs