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

Delete a directory and the subdirectories and files.

URL

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

Method

DELETE

URL Params

None

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

Delate a directory

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

Notes

Supported in bootserver mode