> ## Documentation Index
> Fetch the complete documentation index at: https://docs.atomscale.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Delete Target Material Layer

> Delete a single layer from a target material

Removes one layer from a target material. Identify the layer by its parent target material (`sample_id`) and its position in the stack (`layer_id`).

<ParamField path="sample_id" type="integer" required>
  ID of the parent target material
</ParamField>

<ParamField path="layer_id" type="integer" required>
  Layer position within the stack
</ParamField>

## Response

Returns an empty response on success.

<RequestExample>
  ```bash cURL theme={null}
  curl -X DELETE "https://api.atomscale.ai/target-materials/layers/42/1" \
    -H "X-API-KEY: YOUR_API_KEY"
  ```

  ```python Python theme={null}
  import requests

  response = requests.delete(
      "https://api.atomscale.ai/target-materials/layers/42/1",
      headers={"X-API-KEY": "YOUR_API_KEY"}
  )
  ```
</RequestExample>

<ResponseExample>
  ```json 200 theme={null}
  {}
  ```
</ResponseExample>
