Skip to main content

Remove a file that osapi deployed

DELETE 

/api/node/:hostname/file

Removes the file and keeps its record, marked undeployed, so status reports unmanaged. A path that osapi did not deploy, or deleted already, does not change and reports changed: false. The object stays in the object store.

Request​

Responses​

Each target host's result, with whether it changed.