Skip to main content
POST
Duplicate a datasource

Path Parameters

id
string
required

The ID of the datasource to copy.

Query Parameters

context
string

The context of resource. It usually is the app inside which the resource is created.

Body

application/json

The ID for the new datasource and any fields to override in the copy.

targetId
string
required

The ID of the new datasource. The ID must not already be in use.

description
string

The description of the new datasource. If omitted, the source datasource's description is copied.

application
string

The app to create the new datasource in. If omitted, the new datasource is created in the same app as the source datasource.

collection
string

The collection to associate with the new datasource. If omitted, the source datasource's collection is copied. Fusion doesn't check whether the collection exists.

Response

Created

The response is of type object.