Sources

Copy a Source

Use this endpoint to create a copy of an existing flow.

post/data_sources/{source_id}/copy

Request

Path parameters

source_idinteger required

The unique ID of the source that needs to be copied.

Request body

reuse_data_credentialsboolean

Set this to true if you do want to reuse the credentials of this source instead of creating a clone of the credentials also.

copy_access_controlsboolean

Set this to true if you want the new source to be accessible by all users who have access to the this sink.

owner_idinteger

The default API behavior is to create the new source in the account of the authenticated user making this call. Set this property if you want a different user to be the owner of the new source.

org_idinteger

The default API behavior is to create the new source in the org that the authenticated user making this call belongs to. Set this property if you want the source to be created in a different org.

Response

Success

idinteger
access_rolesstring[]

This property reflects all the permissions the user/team/organization has to this resource.

  1. collaborator: The user/team/organization can view the resource but not make any modifications to it.
  2. operator: The user/team/organization can view the resource and can activate/pause it, but not make any other modifications to it.
  3. administrator: The user/team/organization has complete administrative rights to this resource.
  4. owner: This user created the resource and so has complete administrative rights to it.
namestring
descriptionunknown
statusstring
ingest_methodstring
source_formatstring
source_configobject

The source configuration properties that were set as source_config in the payload-to-source create/update API calls.

poll_scheduleunknown
managedboolean
code_container_idunknown
source_typestring
connector_typestring
auto_generatedboolean
copied_from_idunknown
updated_atstring date-time
created_atstring date-time
flow_typestring
ingestion_modestring

Changes

No recorded changes to this operation across all 1 revision of this API.