Publish Flow

POST {{base-path}}/sites/{{site-id}}/flows

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

Request Params

KeyDatatypeRequiredDescription
overwritenull(Optional) true to overwrite a flow that has the same name, or false to fail if the specified flow already exists. The default is false. If overwrite-flag is set to true but the flow doesn't already exist, the operation succeeds.
uploadSessionIdnullIf you are calling this method to commit a file that was uploaded in parts, this value contains the upload session ID that was generated by a call to Initiate File Upload. If this value is not included, the server assumes that the body of the request contains the file to be published.
flowTypenulltfl or tflx to indicate whether you have uploaded a flow file (tfl) or a packaged flow file (tflx). This value is only necessary and required if you upload a file in multiple parts. In the Publish Flow call after completing file upload, specify the file type.