Create an Extract for a Data Source

POST {{base-path}}/sites/{{site-id}}/datasources/:datasource-id/createExtract?encrypt=true

https://help.tableau.com/current/api/restapi/en-us/REST/restapirefextractandencryption.htm#createextractfor_datasource

Request Params

KeyDatatypeRequiredDescription
encryptbooleanIf true, then Tableau will attempt to encrypt the created extracts. If false, or no encrypt parameter is appended to the URI, then the extract won't be encrypted, unless encryption is enforced by site or workbook configuration. An error will be returned when encrypt equals true and encryption is disabled in the site or workbook.