You can use ArcGIS Server Manager to delete a server directory. To do so, follow the steps below.
Before deleting a server cache directory, you must ensure that any service using the directory is edited to use a different cache directory.
To learn more about changing a service's directory, see Edit service caching properties in ArcGIS Server Manager.
Optionally, you can also choose to delete the cache of the map or image service using the DeleteMapServerCache geoprocessing tool. This will set the service to render dynamically using the data from the data source.
- Open ArcGIS Server Manager and sign in.
- Click Site > Server Configuration > Directories.
- Locate the server directory you want to configure and click Delete .
The Delete Directory dialog box appears.
- Click Delete to delete the server directory.