Dashboard
APIRename Target API - Update Display Name | BotSubscription
api.botsubscription.com
GET/v1/endpoint
AuthenticationBearer
Token
Stays in this tab. Required for this endpoint — the value below is what gets sent.
Examples
curl --request GET \
  --url https://api.botsubscription.com/v1/endpoint \
  --header 'Authorization: Bearer sk_live_•••'

Rename Target - Update a Target's Display Name via API

Change a target's display name on its own, without sending the rest of its configuration. Use this instead of Update Target when a rename is the only change you need to make.

PATCH/v2/projects/{project_id}/targets/{target_id}/name

Authorization

Bearer API KeyRequired

API key access: Unrestricted project API key required. Restricted keys cannot call this endpoint.

Path Parameters

project_idstringrequired

The unique identifier of the project.

target_idstringrequired

The internal target ID (UUID).

Request Body

target_namestringrequired

New display name for the target. 1-100 characters; leading and trailing whitespace is trimmed.

A successful rename returns total: 1, a message, and the updated target object in data.

Response Metadata

parent_target_idstring | null

Optional parent target UUID; null when there is no parent.

participant_countinteger

Optional nonnegative participant count.

originstring

Optional target origin: manual or auto-discovered.

discovered_atstring | null

Optional discovery time as a UTC ISO 8601 timestamp, or null when no discovery time is recorded.

Last updated: