Api Http Delete Function In Python Definition