# IRPCServerAdmin.ResetServerActivityBuffer

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/ResetServerActivityBuffer/

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

Clears the server's in-memory activity buffer that
[GetServerActivityAsJSON](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCServerAdmin/GetServerActivityAsJSON/index.md) reads.

- **Service:** [Server administration](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCServerAdmin/index.md) `MFiles.IRPCServerAdmin`
- **gRPC method:** `/MFiles.IRPCServerAdmin/ResetServerActivityBuffer`
- **HTTP (mf-http-grpc):** `POST /grpc/v1/reset-server-activity-buffer`
- **Request:** [`ResetServerActivityBufferRequest`](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCServerAdmin/ResetServerActivityBuffer/index.md#request)
- **Response:** [`ResetServerActivityBufferResponse`](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCServerAdmin/ResetServerActivityBuffer/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:** yes
- **Returns metadata structure version:** no
- **Streaming:** none (unary)

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

## Remarks

- Clears the activity collected so far for all vaults and all users.
- Requires the system administrator server role (server right `log_in_to_any_vault`, or
  `manage_vaults` when the license limits the administrator's rights to vaults).

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

## Request: ResetServerActivityBufferRequest

No fields.

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

## Response: ResetServerActivityBufferResponse

No fields.

<a id="related"></a>

## Related methods

- [GetServerActivityAsJSON](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCServerAdmin/GetServerActivityAsJSON/index.md): Gets recent server activity (connections, slowest calls, object changes, views, background processes) as a JSON document, for the M-Files Admin server activity dashboard.
