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