Unable to unsubscribe any symbol in WebSocket

I am running the websocket successfully, but unable to Unsubscribe the Symbols for the existing running websocket from subscribed symbols.
Am using this code but it isn’t working. please help me to get the right code for it.

data = {
        "guid": "someguidaa",
        "method": "unsub",
        "data": {
            "mode": "full",
            "instrumentKeys": ['NSE_FO|63197']

binary_data = json.dumps(data).encode('utf-8')
await websocket.send(binary_data)

We have tested and confirmed the functionality of both subscribing and unsubscribing methods. Both processes appear to be operating correctly in my case. Could you please share your code with us? This will allow us to review its execution and further analyze the issue.