Delete an account
October 7, 2026
Table of contents
Remove a connected Google account from your useapi.net account. The stored cookies are deleted and the account slot is freed.
Nothing is deleted on Google’s side. The account’s Vids document and the avatars saved in it stay on the Google account, and you can connect the account again at any time with POST /accounts. Media, asset and avatar ids of a removed account stop working until it is connected again, and an async job still queued for it fails with 404.
https://api.useapi.net/v1/google-vids/accounts/
emailis the email of a connected 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 connected.{ "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 connected 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/google-vids/accounts/user%40example.com" \ -H "Authorization: Bearer …" -
const token = "API token"; const email = "Previously configured account email"; const apiUrl = `https://api.useapi.net/v1/google-vids/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 configured account email" apiUrl = f"https://api.useapi.net/v1/google-vids/accounts/{quote(email, safe='')}" headers = { "Authorization" : f"Bearer {token}" } response = requests.delete(apiUrl, headers=headers) print(response.status_code)