Remove all sample data
DELETE
/api/v1/samples
const url = 'http://localhost:11044/api/v1/samples';const options = {method: 'DELETE', headers: {'X-Embabel-Api-Key': '<X-Embabel-Api-Key>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request DELETE \ --url http://localhost:11044/api/v1/samples \ --header 'X-Embabel-Api-Key: <X-Embabel-Api-Key>'Every :_Sample node whatever loaded it — what you run before showing this world to somebody who should only see real records.
Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”Cleared
Media type*/*
Every sample node removed, whatever loaded it
object
nodes
required
How many nodes went. Zero means this world held no sample data
integer format: int32

