Delete Account Configuration
February 23, 2026
Table of contents
Delete a configured Dreamina account. This removes the account from your configuration and cleans up any executing job entries.
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/dreamina/accounts/
account
Request Headers
Authorization: Bearer {API token}
API tokenis required, see Setup useapi.net for details.
Path Parameters
accountis required. The account identifier inREGION:emailformat. Example:US:[email protected].
Responses
-
Account deleted successfully.
{ "account": "US:[email protected]", "deleted": true, "remaining": 0 }remaining- Number of other accounts still configured.
-
Invalid API token.
{ "error": "Unauthorized" } -
Account not found or not configured.
{ "error": "Unable to find configuration for account US:[email protected]" }
Examples
-
curl -X DELETE \ -H "Authorization: Bearer YOUR_API_TOKEN" \ "https://api.useapi.net/v1/dreamina/accounts/US:[email protected]" -
const token = 'YOUR_API_TOKEN'; const account = 'US:[email protected]'; const response = await fetch( `https://api.useapi.net/v1/dreamina/accounts/${encodeURIComponent(account)}`, { 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' account = 'US:[email protected]' headers = {'Authorization': f'Bearer {token}'} response = requests.delete( f'https://api.useapi.net/v1/dreamina/accounts/{quote(account, safe="")}', headers=headers ) print('Delete result:', response.json())