Skip to main content
PUT
/
sources
/
{source_id}
Update Existing Source
curl --request PUT \
  --url https://api.streamkap.com/sources/{source_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "connector": "<string>",
  "config": {}
}
'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

source_id
string | null
required

Query Parameters

secret_returned
boolean
default:false

Body

application/json
name
string
required
connector
string
required
config
Config · object
required

Response

Successful Response