Delete a source snapshot
DELETE
Deletes a snapshot and its files from storage. Deleting one that is not there succeeds with deleted: false.
Requires an API key with the workspace:write scope.
apiKeyheader
AuthorizationBearer <token>A secret API key from the dashboard (Developers → API keys): vl_live_…, or vl_test_… for test mode. Each operation says which scope the key needs.
id*stringThe agent id.
snapshotId*stringThe snapshot id.
Whether a snapshot was deleted
application/json- response
deleted*booleancurl -X DELETE "https://api.vlayers.ai/v1/agents/$AGENT_ID/source/snapshots/$SNAPSHOT_ID" \ -H "Authorization: Bearer $VOICELAYER_API_KEY"Example Response
{ "deleted": true}