Robot Web Services
3HAC050973-001 Revision:L, Application Manual - Robot Web Services
Delete a file

Delete a file

URL

/fileservice/{device|environment_variable|directory}/{file}

Method

DELETE

URL Params

See Common URL parameters

Data Params

None

Success Response

NO_CONTENT(204)

Example Response

No content

Error Response

UNAUTHORIZED(401), NOT_FOUND(404), BAD_REQUEST(400),METHOD_NOT_ALLOWED(405)

See Robot controller return codes

Sample Call

Delete a file

curl --digest -u "Default User":robotics -X DELETE "http://localhost/fileservice/$home/test.txt"

Notes

Supported in bootserver mode