Delete a Muse account
October 12, 2026
Table of contents
Remove an added Muse account from your useapi.net account. The stored password and session are deleted and the account slot is freed.
Nothing is deleted on Muse’s side. The account’s files and chats stay in its Muse workspace, and you can add the account again at any time with POST /accounts. Its asset ids, and the chat history of its jobs, stop working until it is added again. Job records stay readable with GET /jobs/jobid.
https://api.useapi.net/v1/muse/accounts/
emailis the email of an added account, URL-encoded in the path.
Request Headers
Authorization: Bearer {API token}
API tokenis required, see Setup useapi.net for details.
Responses
-
204 No Content — the account was removed. The response body is empty.
-
400 Bad Request — the
emailin the path is not a valid email, or no account is added at all.{ "error": "Path parameter email (not-an-email) not a valid email", "code": 400 } -
Invalid API token.
{ "error": "useapi.net ⁝ Unauthorized", "code": 401 } -
404 Not Found — no account is added for this
email.{ "error": "Account [email protected] not found", "code": 404 }
Model
204 has no body. Errors return:
{ // TypeScript, all fields are optional
error: string
code: number
}
Examples
-
curl -X DELETE "https://api.useapi.net/v1/muse/accounts/example%40gmail.com" \ -H "Authorization: Bearer …" -
const token = "API token"; const email = "Previously added account email"; const apiUrl = `https://api.useapi.net/v1/muse/accounts/${encodeURIComponent(email)}`; const response = await fetch(apiUrl, { method: "DELETE", headers: { "Authorization": `Bearer ${token}`, }, }); console.log("response", response.status); -
import requests from urllib.parse import quote token = "API token" email = "Previously added account email" apiUrl = f"https://api.useapi.net/v1/muse/accounts/{quote(email, safe='')}" headers = { "Authorization" : f"Bearer {token}" } response = requests.delete(apiUrl, headers=headers) print(response.status_code)