Delete Account Configuration
November 17, 2025
Table of contents
Delete a configured Google Flow account. This removes the account from your configuration and cancels any scheduled refresh operations.
Warning: This action cannot be undone. You will need to reconfigure the account using POST /accounts if you want to use it again.
https://api.useapi.net/v1/google-flow/accounts/
Request Headers
Authorization: Bearer {API token}
API tokenis required, see Setup useapi.net for details.
Path Parameters
emailis required. The email address of the Google Flow account to delete (URL-encoded if necessary).
Responses
-
Account deleted successfully.
{ "message": "Google Flow account [email protected] deleted" } -
Invalid API token.
{ "error": "Unauthorized" } -
Account not found or not configured.
{ "error": "Google Flow account [email protected] not found" }
Examples
-
curl -X DELETE \ -H "Authorization: Bearer YOUR_API_TOKEN" \ "https://api.useapi.net/v1/google-flow/accounts/john%40gmail.com" -
const token = 'YOUR_API_TOKEN'; const email = '[email protected]'; const response = await fetch( `https://api.useapi.net/v1/google-flow/accounts/${encodeURIComponent(email)}`, { method: 'DELETE', headers: { 'Authorization': `Bearer ${token}` } } ); const result = await response.json(); console.log('Delete result:', result); -
import requests from urllib.parse import quote token = 'YOUR_API_TOKEN' email = '[email protected]' headers = {'Authorization': f'Bearer {token}'} response = requests.delete( f'https://api.useapi.net/v1/google-flow/accounts/{quote(email)}', headers=headers ) print('Delete result:', response.json())