Unmount a UNIX file system
You can use this operation to unmount a UNIX file system on a specified directory.
HTTP method and URI path
PUT /zosmf/restfiles/mfs/<file-system-name>
where:
- /zosmf/restfiles specifies the z/OS data set and file REST interface
- <file-system-name> is the file system you want to unmount.
Request Body
{
"action" : "unmount"
}
Request body to unmount a UNIX file system
The request body to unmount a UNIX file system is shown in Request body to unmount a UNIX file system .
Field | Type | Description |
---|---|---|
action | String | Unmount. |
Standard headers
None.
Custom headers
None.
Query parameters
None.Content type
The content type is application/json.
Required authorizations
Usage considerations
Expected response
On completion, the service returns an HTTP response, which includes a status code
indicating whether your request completed. Status code 200
indicates success.
Status code 204
indicates success. A status code of 4nn
or
5nn
indicates that an error has occurred. For more details, see Error handling.
If the request is successfully executed, status code 204 indicates success and no content returned is returned.
Example request
In the following example, the PUT method is used to unmount a UNIX file system.
PUT /zosmf/restfiles/mfs/JIAHJ.ZOSMF.DRIVER.HFS HTTP/1.1
Content-Type: application/json; charset=UTF-8
Request body
{"action":"unmount"}
Example response
A sample response is shown in Unmount a UNIX
file system.