PUT
/
v1
/
connect
/
{project_id}
/
deployed-triggers
/
{trigger_id}
cURL
curl --request PUT \
  --url https://api.pipedream.com/v1/connect/{project_id}/deployed-triggers/{trigger_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'x-pd-environment: <x-pd-environment>' \
  --data '{
  "active": true,
  "configured_props": {},
  "name": "<string>"
}'
{
  "data": {
    "id": "<string>",
    "owner_id": "<string>",
    "component_id": "<string>",
    "configurable_props": [
      {
        "name": "<string>",
        "type": "<string>",
        "label": "<string>",
        "description": "<string>",
        "optional": true,
        "disabled": true,
        "hidden": true,
        "remoteOptions": true,
        "useQuery": true,
        "reloadProps": true,
        "withLabel": true
      }
    ],
    "configured_props": {},
    "active": true,
    "created_at": 123,
    "updated_at": 123,
    "name": "<string>",
    "name_slug": "<string>",
    "callback_observations": "<any>"
  }
}
Configured props you define when updating a deployed trigger will overwrite previously configured props.

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Headers

x-pd-environment
enum<string>
required

The environment in which the server client is running

Available options:
development,
production

Path Parameters

project_id
string
required

The project ID, which starts with 'proj_'.

trigger_id
string
required

Query Parameters

external_user_id
string
required

The external user ID who owns the trigger

Body

application/json

Request options for updating a trigger

Response

200 - application/json

deployed trigger updated

Response received when retrieving a deployed trigger