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.
Mock
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 TokenRequired

Requires the targets:update permission.

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.

Last updated: