Skip to main content
PATCH
Switch automatic pull requests

Authorizations

Authorization
string
header
required

API key with dtk_live_ prefix. Obtain it from API Keys in the account sidebar. New keys start with all supported scopes selected for the chosen project, and you can narrow them to specific read/write scopes as needed.

Path Parameters

projectId
string<uuid>
required

The project the credential is bound to. Read it from GET /connection.

sourceId
string<uuid>
required

A content source id from getContentSources.

Body

application/json
autoPullRequests
boolean
required

true opens a pull request or change request for each new draft of a page under the source; false stops that.

Response

The source

data
object
required
meta
object
required

Sent beside data on every successful response that returns data.