DELETE evolution proxy request
Forwards the DELETE request and preserves the upstream status and payload.
DELETE
/
api
/
v1
/
accounts
/
{account_id}
/
proxifier
/
evolution
DELETE evolution proxy request
curl --request DELETE \
--url https://chat.wiseapp360.com/api/v1/accounts/{account_id}/proxifier/evolution \
--header 'api_access_token: <api-key>' \
--header 'path: <path>'const options = {method: 'DELETE', headers: {path: '<path>', api_access_token: '<api-key>'}};
fetch('https://chat.wiseapp360.com/api/v1/accounts/{account_id}/proxifier/evolution', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://chat.wiseapp360.com/api/v1/accounts/{account_id}/proxifier/evolution"
headers = {
"path": "<path>",
"api_access_token": "<api-key>"
}
response = requests.delete(url, headers=headers)
print(response.text)<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://chat.wiseapp360.com/api/v1/accounts/{account_id}/proxifier/evolution",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "DELETE",
CURLOPT_HTTPHEADER => [
"api_access_token: <api-key>",
"path: <path>"
],
]);
$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://chat.wiseapp360.com/api/v1/accounts/{account_id}/proxifier/evolution"
req, _ := http.NewRequest("DELETE", url, nil)
req.Header.Add("path", "<path>")
req.Header.Add("api_access_token", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.delete("https://chat.wiseapp360.com/api/v1/accounts/{account_id}/proxifier/evolution")
.header("path", "<path>")
.header("api_access_token", "<api-key>")
.asString();{
"message": "Resource deleted successfully"
}{
"error": "Bad request"
}{
"error": "Unauthorized"
}{
"error": "Internal server error"
}Autorizações
Resposta
Dynamic upstream response.
The response is of type object.
⌘I
DELETE evolution proxy request
curl --request DELETE \
--url https://chat.wiseapp360.com/api/v1/accounts/{account_id}/proxifier/evolution \
--header 'api_access_token: <api-key>' \
--header 'path: <path>'const options = {method: 'DELETE', headers: {path: '<path>', api_access_token: '<api-key>'}};
fetch('https://chat.wiseapp360.com/api/v1/accounts/{account_id}/proxifier/evolution', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://chat.wiseapp360.com/api/v1/accounts/{account_id}/proxifier/evolution"
headers = {
"path": "<path>",
"api_access_token": "<api-key>"
}
response = requests.delete(url, headers=headers)
print(response.text)<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://chat.wiseapp360.com/api/v1/accounts/{account_id}/proxifier/evolution",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "DELETE",
CURLOPT_HTTPHEADER => [
"api_access_token: <api-key>",
"path: <path>"
],
]);
$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://chat.wiseapp360.com/api/v1/accounts/{account_id}/proxifier/evolution"
req, _ := http.NewRequest("DELETE", url, nil)
req.Header.Add("path", "<path>")
req.Header.Add("api_access_token", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.delete("https://chat.wiseapp360.com/api/v1/accounts/{account_id}/proxifier/evolution")
.header("path", "<path>")
.header("api_access_token", "<api-key>")
.asString();{
"message": "Resource deleted successfully"
}{
"error": "Bad request"
}{
"error": "Unauthorized"
}{
"error": "Internal server error"
}