Delete app environment variables
curl --request DELETE \
--url https://api.hyzecloud.com/api/apps/{appId}/envs \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"keys": [
"<string>"
]
}
'import requests
url = "https://api.hyzecloud.com/api/apps/{appId}/envs"
payload = { "keys": ["<string>"] }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.delete(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'DELETE',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({keys: ['<string>']})
};
fetch('https://api.hyzecloud.com/api/apps/{appId}/envs', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.hyzecloud.com/api/apps/{appId}/envs"
payload := strings.NewReader("{\n \"keys\": [\n \"<string>\"\n ]\n}")
req, _ := http.NewRequest("DELETE", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}Applications
Delete app environment variables
DELETE
/
api
/
apps
/
{appId}
/
envs
Delete app environment variables
curl --request DELETE \
--url https://api.hyzecloud.com/api/apps/{appId}/envs \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"keys": [
"<string>"
]
}
'import requests
url = "https://api.hyzecloud.com/api/apps/{appId}/envs"
payload = { "keys": ["<string>"] }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.delete(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'DELETE',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({keys: ['<string>']})
};
fetch('https://api.hyzecloud.com/api/apps/{appId}/envs', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.hyzecloud.com/api/apps/{appId}/envs"
payload := strings.NewReader("{\n \"keys\": [\n \"<string>\"\n ]\n}")
req, _ := http.NewRequest("DELETE", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}Autorizações
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Parâmetros de caminho
Minimum string length:
1Corpo
application/jsonapplication/x-www-form-urlencodedmultipart/form-data
Resposta
default
Response
Última modificação em 6 de outubro de 2026

