This API version is deprecated.

Please use PixVerse API v2 it supports all recent features, including effects, extend, lipsync and more.

Delete PixVerse account

Table of contents

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

https://api.useapi.net/v1/account/channel

The channel value should correspond to an account configured previously via a POST request.

Request Headers
Authorization: Bearer {API token}
Responses
Model
{ // TypeScript, all fields are optional
  error: string,
  errorDetails: string,
  code: number
}
Examples
  • curl -H "Accept: application/json" \
         -H "Content-Type: application/json" \
         -H "Authorization: Bearer …" \
         -X DELETE https://api.useapi.net/v1/pixverse/account/<channel> 
    
  • const channel = "Previously configured channel id"; 
    const apiUrl = `https://api.useapi.net/v1/pixverse/account/${channnel}`; 
    const token = "API token";
    const data = { 
      method: 'DELETE',
      headers: {
        'Authorization': `Bearer ${token}`,
        'Content-Type': 'application/json' }
    };
    const response = await fetch(apiUrl, data);
    const result = await response.json();
    console.log("response", {response, result});
    
  • import requests
    channel = "Previously configured channel id" 
    apiUrl = f"https://api.useapi.net/v1/pixverse/account/{channel}" 
    token = "API token"
    headers = {
        "Content-Type": "application/json", 
        "Authorization" : f"Bearer {token}"
    }
    response = requests.delete(apiUrl, headers=headers)
    print(response, response.json())
    
Try It