Open samyukta0731 opened 5 months ago
Please allow Python SDK to have body the delete extension API endpoint
Current behavior : this is not working, throws a 400 error, because usually delete does not have a body, but in this case it;s required cos that's how it is in the documentation
try: endpoint = "/restapi/v2/accounts/~/extensions" body = { "keepAssetsInInventory": True, "records": [{"id": "63581676004"}] }
res = platform.delete(endpoint, body)
Hi @samyukta0731 I have made these changes with PR https://github.com/ringcentral/ringcentral-python/pull/86
Please allow Python SDK to have body the delete extension API endpoint
Current behavior : this is not working, throws a 400 error, because usually delete does not have a body, but in this case it;s required cos that's how it is in the documentation
try: endpoint = "/restapi/v2/accounts/~/extensions" body = { "keepAssetsInInventory": True, "records": [{"id": "63581676004"}] }
res = platform.delete(endpoint, body)