# ServerCertificateChangeRequest

Location: [gRPC API](https://developer.m-files.com/APIs/gRPC-API/index.md) > [Reference](https://developer.m-files.com/APIs/gRPC-API/Reference/index.md) > [Messages](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/index.md)

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

gRPC endpoint settings.

- **Full name:** `MFiles.ServerCertificateChangeRequest`
- **Proto file:** [`mfiles/structs.proto`](https://developer.m-files.com/APIs/gRPC-API/downloads/proto/mfiles/structs.proto)

<a id="fields"></a>

## Fields

| Field | Type | Number | Description |
|---|---|---|---|
| <a id="f-id"></a>`id` | `int32` | 1 | Endpoint ID to modify. -1 to create new endpoint. |
| <a id="f-certificate_action"></a>`certificate_action` | [`ChangeAction`](https://developer.m-files.com/APIs/gRPC-API/Reference/Enums/MFiles.ChangeAction/index.md) | 2 | Action to perform for the certificate. Values: `CHANGE_ACTION_UNINITIALIZED` (0), `CHANGE_ACTION_KEEP` (1), `CHANGE_ACTION_CHANGE` (2), `CHANGE_ACTION_REMOVE` (3). |
| <a id="f-certificate"></a>`certificate` | `string` | 3 | Certificate to set, if the action is replace. |
| <a id="f-private_key_action"></a>`private_key_action` | [`ChangeAction`](https://developer.m-files.com/APIs/gRPC-API/Reference/Enums/MFiles.ChangeAction/index.md) | 4 | Action to perform for the private key. Values: `CHANGE_ACTION_UNINITIALIZED` (0), `CHANGE_ACTION_KEEP` (1), `CHANGE_ACTION_CHANGE` (2), `CHANGE_ACTION_REMOVE` (3). |
| <a id="f-private_key"></a>`private_key` | `string` | 5 | Private key to set, if the action is replace. |

<a id="used-in-fields"></a>

## Used in fields

- [`SetServerEndpointSettingsParams.modify_or_add_certificates`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.SetServerEndpointSettingsParams/index.md#f-modify_or_add_certificates): Server certificates to modify or add.
