Skip to main content
DELETE
/
target-materials
/
layers
/
{sample_id}
/
{layer_id}
curl -X DELETE "https://api.atomscale.ai/target-materials/layers/42/1" \
  -H "X-API-KEY: YOUR_API_KEY"
{}
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).
sample_id
integer
required
ID of the parent target material
layer_id
integer
required
Layer position within the stack

Response

Returns an empty response on success.
curl -X DELETE "https://api.atomscale.ai/target-materials/layers/42/1" \
  -H "X-API-KEY: YOUR_API_KEY"
{}