DELETE
/
v2
/
apps
/
{appId}
/
envs
Remove Variables
curl --request DELETE \
  --url https://api.squarecloud.app/v2/apps/{appId}/envs \
  --header 'Authorization: <authorization>' \
  --header 'Content-Type: application/json' \
  --data '{
  "envs": [
    "<string>"
  ]
}'
{
  "status": "success",
  "response": {
    "REMAINING": "secret"
  }
}
Authorization
string
required
The API key for your account. You can find this in your account settings.
appId
string
required
The application ID.
envs
string[]
required
The array containing the keys to remove.

Response

status
string
Indicates whether the call was successful.. success if successful, error if not.
response
object
The key and value of all remaining environment variables.
{
  "status": "success",
  "response": {
    "REMAINING": "secret"
  }
}