Skip to main content
PATCH
/
pipelines
/
{id}
/
toggle-active
Toggle pipeline active status
curl --request PATCH \
  --url https://api.sftpsync.io/pipelines/{id}/toggle-active \
  --header 'x-api-key: <api-key>'
{
  "id": "<string>",
  "name": "<string>",
  "mappings": [
    {
      "sourceField": "<string>",
      "targetField": "<string>",
      "transform": "<string>",
      "defaultValue": "<any>"
    }
  ],
  "isActive": true,
  "workspaceId": "<string>",
  "clientId": "<string>",
  "schemaId": "<string>",
  "createdAt": "2023-11-07T05:31:56Z",
  "updatedAt": "2023-11-07T05:31:56Z"
}

Authorizations

x-api-key
string
header
required

Path Parameters

id
string
required

Response

200 - application/json

Pipeline

id
string
required
name
string
required
mappings
required
isActive
boolean
required
workspaceId
string
required
clientId
string
required
schemaId
string
required
createdAt
string<date-time>
required
updatedAt
string<date-time>
required