[Solved ✅] API to Delete Connection

Hi, Is there any Web/SDK API to delete connection? If the user provides access to an App, they should have the option to take access as well. I know it can be done manually from backend, but we need to do it programmatically.
7 Replies
eastern-cyan
eastern-cyan3mo ago
Hey @gemtushar, we will be sharing the endpoint with you shortly
conscious-sapphire
conscious-sapphire3mo ago
I was also wondering this ^ @thatsmeadarsh ^
eastern-cyan
eastern-cyan3mo ago
@Karthikeya
conscious-sapphire
conscious-sapphire3mo ago
bumping this
passive-yellow
passive-yellow3mo ago
hey sorry for the delay
curl -X 'DELETE' \
'https://backend.composio.dev/api/v1/connectedAccounts/{connectedAcountId}' \
-H 'accept: application/json' \
-H 'x-api-key: {apiKey}'
curl -X 'DELETE' \
'https://backend.composio.dev/api/v1/connectedAccounts/{connectedAcountId}' \
-H 'accept: application/json' \
-H 'x-api-key: {apiKey}'
please use the above curl. cc: @Masn @gemtushar
conscious-sapphire
conscious-sapphire3mo ago
@Karthikeya thank you! really appreciate it
adverse-sapphire
adverse-sapphireOP3mo ago
Thanks @Karthikeya for sharing the API

Did you find this page helpful?