# IRPCServerAdmin.Shutdown

Location: [gRPC API](https://developer.m-files.com/APIs/gRPC-API/index.md) > [Administration API](https://developer.m-files.com/APIs/gRPC-API/admin/index.md) > [Server administration](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCServerAdmin/index.md)

HTML version: https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCServerAdmin/Shutdown/

Badges: `Administration API / specialized` `admin` `session`

Stops the M-Files Server process.

- **Service:** [Server administration](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCServerAdmin/index.md) `MFiles.IRPCServerAdmin`
- **gRPC method:** `/MFiles.IRPCServerAdmin/Shutdown`
- **HTTP (mf-http-grpc):** `POST /grpc/v1/shutdown`
- **Request:** [`ShutdownRequest`](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCServerAdmin/Shutdown/index.md#request)
- **Response:** [`ShutdownResponse`](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCServerAdmin/Shutdown/index.md#response)
- **Book and level:** Administration API, specialized
- **Kind:** admin
- **Session:** Required: the session ID from LogIn in the mfiles-session-id-bin metadata.
- **Idempotent:** no
- **Returns metadata structure version:** no
- **Streaming:** none (unary)

<a id="remarks"></a>

## Remarks

- Stops the whole server: every session and every vault on it becomes unavailable until the
  service is started again. The call returns before the server has stopped.
- Requires the system administrator server role (server right `shutdown`).

<a id="request"></a>

## Request: ShutdownRequest

No fields.

<a id="response"></a>

## Response: ShutdownResponse

No fields.
