Dashboard
APIUpdate Target API - Modify Access Settings | 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_•••'

Update Target - Modify Access Destination Settings via API

Modify a single access destination's settings. You can enable or disable the target to control whether the subscription bot grants access to it, or update the display name. Disabling a target does not remove existing members but prevents new access grants.

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

Authorization

Bearer TokenRequired

Path Parameters

project_idstringrequired

The unique identifier of the project.

target_idstringrequired

The internal target ID (UUID).

Request Body

is_enabledboolean

Whether the target is enabled.

target_namestring

Display name for the target.

Last updated: