Remove an account

June 3, 2026

Table of contents

  1. Request Headers
  2. Responses
  3. Examples
  4. Try It

Remove a configured Flow Music account from your useapi.net account.

https://api.useapi.net/v1/flowmusic/accounts/email

  • email is required. The email of an added account, URL-encoded.

Request Headers

Authorization: Bearer {API token}

Responses

  • 204 No Content

    The account is removed. No body.

  • 400 Bad Request

    The request itself is wrong, or no usable Google Flow Music account is added. The error text says what to change.

    {
      "error": "Please configure at least one account at https://useapi.net/docs/api-flowmusic-v1/post-flowmusic-accounts",
      "code": 400
    }
    
    {
      "error": "Invalid JSON: Unexpected token 'o', \"not json\" is not valid JSON",
      "code": 400
    }
    
  • 401 Unauthorized

    The useapi.net API token is missing or wrong.

    {
      "error": "useapi.net ⁝ Unauthorized",
      "code": 401
    }
    
  • 402 Payment Required

    The useapi.net subscription is not active.

    {
      "error": "useapi.net ⁝ Your account has no subscription, please subscribe to our services before submitting requests",
      "code": 402
    }
    
  • 404 Not Found

    The account, job or clip does not exist, or is no longer there.

    {
      "error": "Account [email protected] not found",
      "code": 404
    }
    
  • 500 Internal Server Error

    Something failed on our side.

    {
      "error": "Cannot read properties of undefined (reading 'email')",
      "code": 500
    }
    

Examples

  • curl -X DELETE "https://api.useapi.net/v1/flowmusic/accounts/[email protected]" \
         -H "Authorization: Bearer YOUR_API_TOKEN"
    
  • const response = await fetch('https://api.useapi.net/v1/flowmusic/accounts/[email protected]', {
      method: 'DELETE',
      headers: {
        'Authorization': 'Bearer YOUR_API_TOKEN'
      }
    })
    console.log(response.status, await response.text())
    
  • import requests
    
    response = requests.delete(
        'https://api.useapi.net/v1/flowmusic/accounts/[email protected]',
        headers={'Authorization': 'Bearer YOUR_API_TOKEN'},
    )
    print(response.status_code, response.text)
    

Try It