Delete Account Configuration
April 6, 2026
Table of contents
Delete a configured Luma 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/luma/accounts/
Request Headers
Authorization: Bearer {API token}
API tokenis required, see Setup useapi.net for details.
Path Parameters
emailis required. Luma account email (e.g.[email protected]).
Responses
-
Account deleted successfully.
{ "account": "[email protected]", "deleted": true, "remaining": 0 }remaining- Number of other accounts still configured.
-
Invalid API token.
{ "error": "Unauthorized" } -
Account not found or not configured. Returns empty body with status 404.
Model
{
account: string // Deleted account email
deleted: boolean // Always true on success
remaining: number // Number of other accounts still configured
error?: string // Error message
}
Examples
-
curl -X DELETE \ -H "Authorization: Bearer YOUR_API_TOKEN" \ "https://api.useapi.net/v1/luma/accounts/[email protected]" -
const token = 'YOUR_API_TOKEN'; const email = '[email protected]'; const response = await fetch( `https://api.useapi.net/v1/luma/accounts/${encodeURIComponent(email)}`, { 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' email = '[email protected]' headers = {'Authorization': f'Bearer {token}'} response = requests.delete( f'https://api.useapi.net/v1/luma/accounts/{quote(email, safe="")}', headers=headers ) print('Delete result:', response.json())