Delete
/api/v2/highlight/delete
Post
profiles
jwt
Purpose
To allow a user to delete an existing highlight of stories on his/her profile.
Body Content [input]
{
uid: string,
highlightID: string
}
Returns if valid [output]
{
message: string,
error: 0
}
What the API does
- Finds the
profile
of the record corresponding to theuid
passed from theprofiles
collection and deletes the object corresponding to thehighlightID
passed [404].