Delete an account
Changed onUnlink the given account from Unipile. By default, provider sessions or authorizations are revoked where supported. Set provider_session_revoke=false to delete locally without revoking them.
Request
- Base URLhttps://api1.unipile.com:13111
- AuthAPI key in header X-API-KEY
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
The id account to be deleted.
Query parameters
Defaults to true. Set to false to disable provider session or authorization revocation while deleting local account data. Use false when deleting a v1 account after migrating it to v2 (e.g. a LinkedIn account connected with credentials), or when deleting a Google connection used across projects sharing the same Google OAuth authorization, to avoid disconnecting the other connections.
Response
OK. The account deletion succeeded.
Changes
- warning
added the new
errors/target_audience_too_smallenum value to theresponse property for the response status - info
added the new optional
queryrequest parameterprovider_session_revoke
- warning