# ChangeAction

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) > [Enums](https://developer.m-files.com/APIs/gRPC-API/Reference/Enums/index.md)

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

ChangeAction enumeration.

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

<a id="values"></a>

## Values

| Name | Number | Description |
|---|---|---|
| <a id="v-CHANGE_ACTION_UNINITIALIZED"></a>`CHANGE_ACTION_UNINITIALIZED` | 0 | Unknown type (not initialized to any type). |
| <a id="v-CHANGE_ACTION_KEEP"></a>`CHANGE_ACTION_KEEP` | 1 | Keep the old value. |
| <a id="v-CHANGE_ACTION_CHANGE"></a>`CHANGE_ACTION_CHANGE` | 2 | Replace the old value with a new one. |
| <a id="v-CHANGE_ACTION_REMOVE"></a>`CHANGE_ACTION_REMOVE` | 3 | Remove the old value. |

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

## Used in fields

- [`ServerCertificateChangeRequest.certificate_action`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.ServerCertificateChangeRequest/index.md#f-certificate_action): Action to perform for the certificate.
- [`ServerCertificateChangeRequest.private_key_action`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.ServerCertificateChangeRequest/index.md#f-private_key_action): Action to perform for the private key.
