Help Search

Remove a favorite

To remove a resource from your favorite list:

DELETE /favorites/<favoriteId>.json

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,
        "action": "8fb44391-6155-5bff-a3d5-57dea22c9894",
        "message": "The favorite was deleted.",
        "url": "/favorites/288050d2-25b0-4c04-a959-2fc6f4011208.json",
        "code": 200
    },
    "body": null
}

Last updated

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

For another perspective on the API you browse the OpenAPI 2.0 specifications using the dedicated API reference site (Swagger UI).

API Reference

You can also find the latest OpenAPI 2.0 specifications directly on the dedicated repository.

OpenAPI Specs repository
🍪   Do you accept cookies for statistical purposes? (Read more) Accept No thanks!