Function that will destroy the instance of the given Sidebar
The id of the Sidebar element
the API response envelope as a JSON string: { code, isSuccess, message, value? }
{ code, isSuccess, message, value? }
Function that will destroy the instance of the given Sidebar