Skip to main content
DELETE
/
v1
/
source-snapshots
/
{source_snapshot_id}
curl -X DELETE https://api.dari.dev/v1/source-snapshots/src_456 \
  -H "Authorization: Bearer $DARI_API_KEY"
Deletes a source snapshot that has not yet been referenced by a published version. Snapshots already attached to an agent version are immutable publish inputs and cannot be deleted through this endpoint.

Path Parameters

source_snapshot_id
string
required
Source snapshot ID.

Headers

Authorization
string
required
Bearer token using your Dari API key.

Response

Returns 204 No Content when the snapshot and its stored object were deleted.
curl -X DELETE https://api.dari.dev/v1/source-snapshots/src_456 \
  -H "Authorization: Bearer $DARI_API_KEY"