---
title: "Create or modify an end-client's brand assignment"
method: PUT
path: "/v2/agency-CK/{agencyId}/end-clients/{endClientId}/assignments"
tags: ["Agency end-clients Api Service"]
---

# Create or modify an end-client's brand assignment

`PUT /v2/agency-CK/{agencyId}/end-clients/{endClientId}/assignments`

## Request

- Base URL: `https://app.metricool.com/api`
- URL: `https://app.metricool.com/api/v2/agency-CK/{agencyId}/end-clients/{endClientId}/assignments`
- Auth: none declared

## Path parameters

- `agencyId` integer, required
- `endClientId` integer, required

## Request body

- AgencyEndClientBrandDto[]
  - `id` integer
  - `agencyId` integer
  - `endClientId` integer
  - `brandId` integer, required
  - `email` string
  - `enabled` boolean, required
  - `roleId` integer, required
  - `brandName` string
  - `roleName` string

## Response `200`

OK

- JsonOkListResponseAgencyEndClientBrandDto
  - `metadata` object
  - `page` JsonPaging
    - `next` string
  - `data` AgencyEndClientBrandDto[]
    - `id` integer
    - `agencyId` integer
    - `endClientId` integer
    - `brandId` integer, required
    - `email` string
    - `enabled` boolean, required
    - `roleId` integer, required
    - `brandName` string
    - `roleName` string

---

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