Delete Application
curl --request DELETE \
--url https://api.vertracloud.app/v1/apps/{id}import requests
url = "https://api.vertracloud.app/v1/apps/{id}"
response = requests.delete(url)
print(response.text)const options = {method: 'DELETE'};
fetch('https://api.vertracloud.app/v1/apps/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.vertracloud.app/v1/apps/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "DELETE",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.vertracloud.app/v1/apps/{id}"
req, _ := http.NewRequest("DELETE", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.delete("https://api.vertracloud.app/v1/apps/{id}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.vertracloud.app/v1/apps/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Delete.new(url)
response = http.request(request)
puts response.read_body{
"response": null
}
Applications
Delete Application
Deletes an application by its ID.
DELETE
/
v1
/
apps
/
{id}
Delete Application
curl --request DELETE \
--url https://api.vertracloud.app/v1/apps/{id}import requests
url = "https://api.vertracloud.app/v1/apps/{id}"
response = requests.delete(url)
print(response.text)const options = {method: 'DELETE'};
fetch('https://api.vertracloud.app/v1/apps/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.vertracloud.app/v1/apps/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "DELETE",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.vertracloud.app/v1/apps/{id}"
req, _ := http.NewRequest("DELETE", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.delete("https://api.vertracloud.app/v1/apps/{id}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.vertracloud.app/v1/apps/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Delete.new(url)
response = http.request(request)
puts response.read_body{
"response": null
}
string
required
The application ID to delete.
Response
null
Always
null — the application was deleted.{
"response": null
}
Error Responses
string
The error code indicating the reason for the failure. Possible values:
UNAUTHORIZED: The user is not authenticated or does not have sufficient permissions.APP_NOT_FOUND: The specified application does not exist.APP_SHIELD_COOLDOWN: Vertra Shield paused the application; it can’t be deleted until the pause ends (403).details.untilsays when.APP_ID_REQUIRED: The application ID was not provided.INTERNAL_SERVER_ERROR: The application could not be deleted.OPERATION_IN_PROGRESS: Another lifecycle operation on the same application is already running (409). Nothing was deleted — wait a few seconds and retry. See Common Error Codes.
string
A descriptive message providing additional details about the error.
{
"code": "APP_NOT_FOUND"
}
{
"code": "UNAUTHORIZED"
}
{
"code": "INTERNAL_SERVER_ERROR"
}