v1
latestOpenAPI 3.0.0(C) Copyright IBM Corp. 2016 All Rights Reserved.2026-07-144737155.4 KBDelete a file share
This endpoint deletes a file share from a space (corresponding IBM Containers command: cf ic volume fs-rm FSNAME).
Before you can delete a file share, all mounted volumes must be deleted first. To delete a volume, run cf ic volume rm VOLNAME or call the DELETE /volumes/{name} API endpoint.
Note: To delete a file share you must have been granted organization developer rights.
Path parameters
The name of the file share that you want to delete. Run cf ic volume fs-list or call the GET /volumes/fs/json API endpoint to retrieve a list of available file shares in your space.
Headers
The Bluemix JSON web token that you receive when logging into Bluemix. Run cf oauth-token to retrieve your access token.
The unique ID of your organization space where you want to create or work with your containers. Run cf space <space_name> --guid, where <space_name> is the name of your space, to retrieve your space ID.
Response
No Content. The file share was successfully deleted.