freakboy3742/pyxero

XERO Delete connection with connection id

Closed this issue · 1 comments

I want to allow deleting specific tenant from my api but every time I make DELETE request to https://api.xero.com/connections/{connectionId} with my access token I get "AuthenticationUnsuccessful". Furthemore, when I change DELETE to GET I recieve all active connections properly :/ How can I resolve this problem?

Solved the problem with the help of Xero developers. We have to set the connection id instead of the authEventId