I have an App to be used in my SharePoint tenant. From App developer I got the Client ID, Client Secret, App domain, return Url.
During my app registration through Appregnew.aspx, I have used wrong return url, and client secret. Now if I click on that app, it throws me error "An error occurred....".
To Use that App, I need to update my registered App with my correct client secret and return url. I am not finding any way .. How to Update or Unregister the SharePoint App.
To get your app registration details use below link
{SiteUrl}/_layouts/15/appinv.aspx
Then update your details using below link with existing Client ID(do not use generate client ID and client secret)
{SiteUrl}/_layouts/15/appregnew.aspx
This will update your app registration details for existing client ID.
Use link for more details https://msdn.microsoft.com/en-us/library/office/jj687469.aspx