Skip to main content
POST
/
environment
/
{environmentId}
/
service
/
delete
Delete services
curl --request POST \
  --url https://api.qovery.com/environment/{environmentId}/service/delete \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{
  "application_ids": [
    "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  ],
  "container_ids": [
    "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  ],
  "database_ids": [
    "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  ],
  "job_ids": [
    "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  ],
  "helm_ids": [
    "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  ],
  "terraform_ids": [
    "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  ]
}'

Authorizations

Authorization
string
header
required

Token API are generated by Qovery to manage machine to machine interaction and do not have a TTL. Prefix your token with "Token ". Curl Example: curl https://console.qovery.com/organization -H "Authorization: Token $qovery_token"

Path Parameters

environmentId
string<uuid>
required

Environment ID

Body

application/json
application_ids
string<uuid>[]
container_ids
string<uuid>[]
database_ids
string<uuid>[]
job_ids
string<uuid>[]
helm_ids
string<uuid>[]
terraform_ids
string<uuid>[]

Response

Services have been triggered to be deleted