Link Search Menu Expand Document

Delete

/api/v2/link/delete

Post

links

jwt


Purpose

To allow a user to delete one of his/her existing links.

Body Content [input]

{
    uid: string,
    linkID: string
}

Returns if valid [output]

{
    error: 0,
    message: string
}

What the API does

  • Finds the link being referenced in the links collection corresponding to linkID [404].
  • Removes that link from the collection and saves.