---
title: "POST /V1.0/ComanagedAssociations"
method: POST
path: "/V1.0/ComanagedAssociations"
tags: ["ComanagedAssociations"]
---

# POST /V1.0/ComanagedAssociations

`POST /V1.0/ComanagedAssociations`

## Request

- Base URL: `https://webservices5.autotask.net/ATServicesRest`
- URL: `https://webservices5.autotask.net/ATServicesRest/V1.0/ComanagedAssociations`
- Auth: none declared. Required headers: `ApiIntegrationCode`, `UserName`, `Secret`

## Headers

- `ApiIntegrationCode` string, required
- `UserName` string, required
- `Secret` string, required
- `ImpersonationResourceId` string

## Request body

- ComanagedAssociationModel
  - `id` integer
  - `companyID` integer
  - `isPrimaryComanagedResource` boolean
  - `resourceID` integer

## Response `200`

OK

- OperationResultModel
  - `itemId` Object

## Other responses

- `401`: Unauthorized
- `403`: Forbidden

---

[API](https://skmtc.dev/autotask/apis/datto-autotask-psa-rest-api.md) - [All operations](https://skmtc.dev/autotask/apis/datto-autotask-psa-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/autotask/apis/datto-autotask-psa-rest-api/revisions/33004189221c?raw)
