---
title: "Name a connected account, or clear its name with an empty string"
method: PUT
path: "/tools/connections/{connectionId}/label"
tags: ["gateway"]
---

# Name a connected account, or clear its name with an empty string

`PUT /tools/connections/{connectionId}/label`

## Request

- Base URL: `https://www.dench.com/api/v1`
- URL: `https://www.dench.com/api/v1/tools/connections/{connectionId}/label`
- Auth: one of:
  - HTTP bearer
  - HTTP bearer

Name a connected account, or clear its name with an empty string.

## Path parameters

- `connectionId` string, required

## Request body

- object
  - `displayName` string, required: Human name for the account. Empty clears it.

## Response `200`

Successful response

- object
  - `ok` boolean, required
  - `displayName` string, nullable, required

## Other responses

- `400`: Invalid request
- `401`: Missing or invalid authentication
- `404`: Operation or resource not found
- `500`: Server error

---

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