---
title: "Create, edit, and/or delete ConnectWise Mappings"
method: PATCH
path: "/integrations/connectwise/{UUID}/mappings"
tags: ["Providers"]
---

# Create, edit, and/or delete ConnectWise Mappings

`PATCH /integrations/connectwise/{UUID}/mappings`

## Request

- Base URL: `https://console.jumpcloud.com/api/v2`
- URL: `https://console.jumpcloud.com/api/v2/integrations/connectwise/{UUID}/mappings`
- Auth: API key in header `x-api-key`
- TypeScript: <https://skmtc.dev/jumpcloud/apis/jumpcloud-api-2/docs/integrations/connectwise/:UUID/mappings/patch.ts> (a function with typed inputs; its response is checked against the schema)

Create, edit, and/or delete mappings between Jumpcloud organizations and ConnectWise companies/agreements/additions. You must be associated to the same provider as the ConnectWise integration to use this api.

## Request body

- ConnectWiseMappingRequest: Request object for creating ConnectWise mappings
  - `data` object[]
    - `organization` object, required
      - `id` string, required
      - `name` string, nullable, required
    - `delete` boolean
    - `company` object, required
      - `id` string, nullable, required
      - `name` string, nullable, required
    - `agreement` object, nullable
      - `id` string, nullable
      - `name` string, nullable
    - `addition` object, nullable
      - `id` string, nullable
      - `name` string, nullable

## Response `204`

No Content

- ConnectWiseMappingRequest: Request object for creating ConnectWise mappings
  - `data` object[]
    - `organization` object, required
      - `id` string, required
      - `name` string, nullable, required
    - `delete` boolean
    - `company` object, required
      - `id` string, nullable, required
      - `name` string, nullable, required
    - `agreement` object, nullable
      - `id` string, nullable
      - `name` string, nullable
    - `addition` object, nullable
      - `id` string, nullable
      - `name` string, nullable

## Other responses

- `400`: Bad Request
- `401`: Unauthenticated
- `403`: Unauthorized
- `404`: Not Found
- `500`: Internal Server Error

---

[API](https://skmtc.dev/jumpcloud/apis/jumpcloud-api-2.md) - [All operations](https://skmtc.dev/jumpcloud/apis/jumpcloud-api-2/llms.txt) - [OpenAPI document](https://skmtc.dev/jumpcloud/apis/jumpcloud-api-2/revisions/3f09fe63caaa?raw)
