Delete Account Configuration

February 23, 2026

Table of contents

  1. Request Headers
  2. Path Parameters
  3. Responses
  4. Examples
  5. Try It

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}

Path Parameters

  • account is required. The account identifier in REGION:email format. Example: US:[email protected].

Responses

  • 200 OK

    Account deleted successfully.

    {
      "account": "US:[email protected]",
      "deleted": true,
      "remaining": 0
    }
    
    • remaining - Number of other accounts still configured.
  • 401 Unauthorized

    Invalid API token.

    {
      "error": "Unauthorized"
    }
    
  • 404 Not Found

    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())
    

Try It