Accounts

Disconnect account

Delete Adeli's credentials and cached history for one connection.

DELETEhttps://app.tryadeli.com/api/v1/profiles/{profileId}/accounts/{accountId}
AuthorizationBearer <API key>How keys work

Deletes Adeli's stored credentials and cached history for that connection. It never deletes the account, its posts, or its messages on the provider.

For TikTok, YouTube, X, and Bluesky, Adeli first tries to revoke the authorization with the provider and then guarantees local deletion either way. X usage already recorded stays on your bill. revocationFailed: true means the local credential is gone but the provider may still list the authorization, and the customer can remove it from their TikTok settings or their Google account permissions.

Path parameters

profileIduuidRequired
A profile in your organization. Any other value returns 404 profile_not_found.
accountIduuidRequired
A connected account in that profile. Any other value returns 404 account_not_found.

Errors — 401 unauthorized, 400 invalid_request, 404 profile_not_found, 404 account_not_found, 502 database_error.