Delete an account

November 14, 2026

Table of contents

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

Remove a connected ACE Music account from your useapi.net account. The stored password and session are deleted and the account slot is freed.

Nothing is deleted on ACE Music’s side: the account’s songs and uploads stay in its Library, and you can connect it again at any time with POST /accounts. Song and image ids of a removed account stop working until it is connected again, and a job still running on it fails with 404 at its next check.

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

  • email is the email of a connected account, URL-encoded in the path.
Request Headers
Authorization: Bearer {API token}
Responses
  • 204 No Content

    The account was removed.

  • 401 Unauthorized

    Invalid API token.

    {
      "error": "useapi.net ⁝ Unauthorized",
      "code": 401
    }
    
  • 404 Not Found

    {
      "error": "Account example@example.com is not configured",
      "code": 404
    }
    
Examples
  • curl -X DELETE "https://api.useapi.net/v1/acemusic/accounts/example%40example.com" \
       -H "Authorization: Bearer …"
    
  • const token = "API token";
    const email = "example@example.com";
    const response = await fetch(`https://api.useapi.net/v1/acemusic/accounts/${encodeURIComponent(email)}`, {
      method: "DELETE",
      headers: { "Authorization": `Bearer ${token}` }
    });
    console.log(response.status);
    
  • import requests
    from urllib.parse import quote
    
    token = "API token"
    email = "example@example.com"
    response = requests.delete(f"https://api.useapi.net/v1/acemusic/accounts/{quote(email, safe='')}",
                               headers={"Authorization": f"Bearer {token}"})
    print(response.status_code)
    
Try It