Skip to content

DELETE /applications/ ​

Description ​

Delete an existing application. Deleting an application disables its API credentials: it can no longer be used to authenticate API calls, and it will no longer appear in your list of applications.

The {id} path parameter is the application id (identical to its client_id).

Authentication ​

  • Required: Yes
  • Method: Bearer token
  • Scope: mediahub_write

Request Headers ​

  • Authorization: Bearer [AUTH_TOKEN]
  • Accept:
    • application/json (for JSON responses)
    • application/xml (for XML responses)

Parameters ​

Query Parameters ​

  • format: string (Optional)
    Values: json, xml
    Overrides the Request Accept header.
  • human: boolean (Optional)
    Values: true, false
    Causes the response to be in a structured, more human-readable form.

Path Parameters ​

  • id: string (Required)
    The application id (identical to its client_id). For example: 6ae0971a404343165f14396d.

Example Request ​

bash
curl -X DELETE "https://api.xvid.com/v1/applications/6ae0971a404343165f14396d?human=true" \
  -H "Authorization: Bearer AUTH_TOKEN"

Example Response ​

Success (200 OK) ​

json
{
  "result": {
    "status": "SUCCESS"
  }
}

Error Responses ​

403 Forbidden ​

json
{
  "error": {
    "error_code": "0x0000003",
    "error_message": "Invalid access token"
  }
}

404 Not Found ​

json
{
  "error": {
    "error_code": "0x0220001",
    "error_message": "Application does not exist"
  }
}

500 Internal Server Error ​

json
{
  "error": {
    "error_code": "0x0000001",
    "error_message": "Internal Error"
  }
}