---
title: "Replace Container Instance Deletion Cost"
method: PUT
path: "/v1/deletion-cost"
tags: ["metadata"]
---

# Replace Container Instance Deletion Cost

`PUT /v1/deletion-cost`

Replaces the deletion cost of the current container instance

## Headers

- `Metadata` 'true', required

## Request body

- DeletionCost — The deletion cost of the current container instance.
  - `deletion_cost` integer, required — An integer value that identifies the relative cost to the application running across the container group if the current container instance is deleted. A higher value indicates a higher cost, and a lower value indicates a lower cost. If the container group is scaled down, the scheduler will attempt to delete the container instances with the lowest deletion costs first.

## Response `204`

No Content

## Other responses

- `400` — Bad Request
- `403` — Forbidden
- `404` — Not Found
- `default` — Unknown Error

---

[API](https://skmtc.net/salad/apis/saladcloud-api.md) · [All operations](https://skmtc.net/salad/apis/saladcloud-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/salad/saladcloud-api/revisions/6ee34c3732f3/schema)
