---
title: "Rename Hubspot Portal"
method: PATCH
path: "/api/users/{user_id}/hubspot-portals/{hub_id}"
---

# Rename Hubspot Portal

`PATCH /api/users/{user_id}/hubspot-portals/{hub_id}`

## Request

- Base URL: `https://api.adplug.app` (the document declares no server; this is the origin it was published from)
- URL: `https://api.adplug.app/api/users/{user_id}/hubspot-portals/{hub_id}`
- Auth: HTTP bearer

Give a portal the name the user knows it by (the assistant matches it too). Empty clears it.

## Path parameters

- `user_id` string, required
- `hub_id` integer, required

## Request body

- object

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

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