v1

latestOpenAPI 3.0.0(C) Copyright IBM Corp. 2016 All Rights Reserved.2026-07-144737155.4 KB
File shares

Delete 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.

delete/volumes/fs/{name}

Path parameters

namestring required

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

X-Auth-Tokenstring required

The Bluemix JSON web token that you receive when logging into Bluemix. Run cf oauth-token to retrieve your access token.

X-Auth-Project-Idstring required

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.