Link Search Menu Expand Document

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 the uid passed from the profiles collection and deletes the object corresponding to the highlightID passed [404].