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.You can also find the latest OpenAPI 2.0 specifications directly on the dedicated repository.
OpenAPI Specs repository