Delete an account

November 14, 2026 (December 1, 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. We delete its stored password and session. Your subscription can then connect another account in its place.

Nothing is deleted on ACE Music’s side. The account’s songs and uploads stay in its Library. You can connect it again at any time with POST /accounts. Until then, the song and image ids of that account don’t work. A job still running on it fails with 404 at its next check.

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

  • email is required. The email of a connected 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. Fix what the text names, then send it again.

    The body could not be read. It is not valid JSON, or a multipart upload was sent without its boundary.

    {
      "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 is not connected (never added, or removed).

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

    Something failed on our side.

    {
      "error": "Something went wrong on our side, please retry",
      "code": 500
    }
    
Examples
  • curl -X DELETE "https://api.useapi.net/v1/acemusic/accounts/[email protected]" \
         -H "Authorization: Bearer YOUR_API_TOKEN"
    
  • const response = await fetch('https://api.useapi.net/v1/acemusic/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/acemusic/accounts/[email protected]',
        headers={'Authorization': 'Bearer YOUR_API_TOKEN'},
    )
    print(response.status_code, response.text)
    
Try It