I have completed the Xero OAuth flow with the following scopes:
openid profile email accounting.transactions offline_access
When I attempt to DELETE a connection using the URI https://api.xero.com/connections/{xeroTenantId} I get the error AuthenticationUnsuccessful.
My access token is valid and I am able to perform a GET on the same endpoint with the same token. There is nothing in the documentation that I can find which explains what scope is required to delete a connection: https://developer.xero.com/documentation/guides/oauth2/scopes