# IRPCObjectTypesAdmin.ConvertValueListToObjectType

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

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

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

Converts a value list, and the lists that own it or that it owns, into real object types.

- **Service:** [Object type administration](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCObjectTypesAdmin/index.md) `MFiles.IRPCObjectTypesAdmin`
- **gRPC method:** `/MFiles.IRPCObjectTypesAdmin/ConvertValueListToObjectType`
- **HTTP (mf-http-grpc):** `POST /grpc/v1/convert-value-list-to-object-type`
- **Request:** [`ConvertValueListToObjectTypeRequest`](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCObjectTypesAdmin/ConvertValueListToObjectType/index.md#request)
- **Response:** [`ConvertValueListToObjectTypeResponse`](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCObjectTypesAdmin/ConvertValueListToObjectType/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

- Changes the vault's database structure; there is no method that converts back.
- Requires `change_metadata_structure` and `license_allows_modifications`.
- Stops background refreshing of the list while converting.
- Increments the metadata structure version.

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

## Request: ConvertValueListToObjectTypeRequest

> Nested message fields are expanded to depth 3; follow a type link for deeper levels and for the type's own page.

| Field | Type | Description |
|---|---|---|
| `value_list` | `int32` | The ID of the value list to convert. |

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

## Response: ConvertValueListToObjectTypeResponse

No fields.
