Update a Target

Time Status User Agent
Make a request to see history.

URL Expired

The URL for this request expired after 30 days.

Compute Unit Value: 10 (fixed)

id

uuid

required

ID of target to fetch

name

string

required

The name of the target

description

string

Optional information about the target

status

string

enum

Defaults to active

Current status of the target

disconnectedactivefailed

Allowed:

disconnected``active``failed

type

string

enum

required

The type of target, indicating the communication protocol.

webhookwebsocket

Allowed:

webhook``websocket

settings

Webhook Settings | WebSocket Settings | Email Settings

required

Configuration settings specific to the target type.

settingsWebhook Settings | WebSocket Settings | Email Settings

max_buffer_count

integer

10 to 10000

Defaults to 10000

Maximum number of events that can be buffered before delivery.

``200 Target updated

``default Unexpected error

curl --request PUT \
     --url https://svc.blockdaemon.com/streaming/v2/targets/id \
     --header 'accept: application/json' \
     --header 'authorization: Bearer ••••' \
     --header 'content-type: application/json' \
     --data '
{
  "status": "active",
  "type": "webhook",
  "max_buffer_count": 10000
}
'

application/json

200default

Updated2 months ago