---
title: "Update profile by id"
method: PATCH
path: "/api/ai-customizations/v1/profiles/{id}"
tags: ["AI Customization Profiles"]
---

# Update profile by id

`PATCH /api/ai-customizations/v1/profiles/{id}`

## Request

- Base URL: `https://agency-partner-hub-web.global-aws-use1-p.app-us1.com`
- URL: `https://agency-partner-hub-web.global-aws-use1-p.app-us1.com/api/ai-customizations/v1/profiles/{id}`
- Auth: one of:
  - API key in header `api-key`
  - HTTP bearer

## Path parameters

- `id` integer, required

## Request body

- UpdateProfileRequest
  - `name` string, required

## Response `200`

Profile updated successfully

- ProfileResponse
  - `id` integer, required
  - `reseller_id` integer, required
  - `name` string, required
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, required
  - `assigned_accounts_count` integer, required
  - `assigned_accounts` union
    - ChildAccountData[], nullable
      - `id` integer, required
      - `reseller_id` integer, nullable
      - `account_name` string, nullable
      - `created_at` string, date-time, required
      - `updated_at` string, date-time, required
    - object, nullable

## Other responses

- `400`: Bad Request
- `401`: Authorization error
- `404`: Not Found
- `409`: Request failed due to a conflict with the current state of AI customization profiles
- `422`: Unprocessable Content

---

[API](https://skmtc.dev/activecampaign/apis/partners-api.md) - [All operations](https://skmtc.dev/activecampaign/apis/partners-api/llms.txt) - [OpenAPI document](https://skmtc.dev/activecampaign/apis/partners-api/revisions/846abb7d30bd?raw)
