HomeDev GuideAPI Reference
Dev GuideAPI ReferenceUser GuideGitHubNuGetDev CommunityAcademySubmit a ticketLog In
API Reference

Patch contentsource

Patch an existing contentsource.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

The key of the contentsource to patch.

Body Params

The values of the contentsource that should be patched formatted according to RFC7396.

Describes a content source used within CMS.

string | null

Specifies the type of source. For example 'graph' for a GraphQL content source.

string | null

The key of the source that this ContentSource relates to.

string | null
^[A-Za-z][_0-9A-Za-z]+$

Specifies the source type of this source.

string | null

The display name of this ContentSource.

string | null
enum

Represents the base of the corresponding content type.

propertyMappings
object

Represents a mapping between a property in an external source and its corresponding property in the CMS. Used to define how external properties are mapped to CMS property identifiers and names.

Headers
cms-skip-validation
array of strings

Indicates which content validation rules should be bypassed. Supported values are '*' (skip all validations), 'data' (skip data validation), and 'references' (skip reference validation). Values can be combined, empty or duplicated values are ignored, and any unknown values result in a validation error. Use with caution as this may allow creation of invalid content that could cause issues in production.

cms-skip-validation
Allowed:
Prefer
array of strings

Indicates client preference for the response content as per IETF RFC7240. Currently only supports 'return=representation' which can be used to indicate a preference to receive a representation of the resource that has been altered in the response.

Prefer
string

If provided, the PATCH request will only be considered if the value matches the RFC7232 ETag of the current resource. Weak ETags will always be ignored.

string

If provided, the PATCH request will only be considered if the resource has not been modified since the provided date. This parameter will be ignored if an 'If-Match' parameter is also provided.

string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

204

No Content

Language
Credentials
OAuth2
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json
application/problem+json