**Source URL:** https://limited.veevavault.dev/regulatory/vault-api/api-reference/24.2/vault-objects/object-types/change-object-type.md

# Change Object Type



Change the object types assigned to object records. Any field values that exist on both the original and new object type will carry over to the new type. All other field values will be removed, as only fields on the new type are valid. You can set field values on the new object type in the CSV input.

* The maximum input file size is 1GB.

* The values in the input must be UTF-8 encoded.

* CSVs must follow the [standard format](https://datatracker.ietf.org/doc/html/rfc4180).

* The maximum batch size is 500.

<Endpoint path="/api/{version}/vobjects/{object_name}/actions/changetype" method="POST"></Endpoint>

## Headers {#headers}

<FieldTable>
| Name | Description |
| --- | --- |
| `Content-Type` | `application/json` or `text/csv` |
| `Accept` | `application/json` (default) or `text/csv` |
</FieldTable>

## URI Path Parameters {#uri-path-parameters}

<FieldTable>
| Name | Description |
| --- | --- |
| `{object_name}` | The name of the object. |
</FieldTable>

## Body Parameters {#body-parameters}

Upload parameters as a JSON or CSV file.

## Request {#request}

<CodeExample title="">
```
curl -X POST -H "Authorization: {SESSION_ID}" \
-H "Content-Type: text/csv" \
-H "Accept: application/json" \
--data-binary @"C:\Vault\Objects\objecttypes.csv" \
https://myvault.veevavault.com/api/v24.2/vobjects/product__v/actions/changetype

```
</CodeExample>

## Response {#response}

<CodeExample title="">
```
{
    "responseStatus": "SUCCESS",
    "data": [
        {
            "responseStatus": "SUCCESS",
            "data": {
                "id": "00P07710",
                "url": "api/v24.2/vobjects/product__v/00P07710"
            }
        }
    ]
}

```
</CodeExample>

---

**Previous:** [Retrieve Details from a Specific Object](/regulatory/vault-api/api-reference/24.2/vault-objects/object-types/retrieve-details-from-a-specific-object)  
**Next:** [Object Roles](/regulatory/vault-api/api-reference/24.2/vault-objects/object-roles)