---
title: "Updates the given companycontact id"
method: PUT
path: "/v1/resourceowner/companycontact/{companyContactIdToEdit}"
tags: ["ResourceOwnerCompanyContacts"]
---

# Updates the given companycontact id

`PUT /v1/resourceowner/companycontact/{companyContactIdToEdit}`

## Request

- Base URL: `https://api.automile.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.automile.com/v1/resourceowner/companycontact/{companyContactIdToEdit}`
- Auth: OAuth 2
  - Implicit: `https://api.automile.com/login/`

This will update the company contact with the new model.

## Path parameters

- `companyContactIdToEdit` integer, required

## Request body

- CompanyContactEditModel
  - `CompanyId` integer, required
  - `ContactId` integer, required

## Response `200`

The company contact was saved

## Other responses

- `403`: Request is forbidden, this could occur if you are not associated with the company contact
- `500`: Internal server error

---

[API](https://skmtc.dev/automile/apis/automile-api.md) - [All operations](https://skmtc.dev/automile/apis/automile-api/llms.txt) - [OpenAPI document](https://skmtc.dev/automile/apis/automile-api/revisions/56b5b8d6d733?raw)
