3 Replies Latest reply on Apr 23, 2018 8:11 AM by Glen Robinson

    404 while deleting a datasource using API

    Atul Bhagwat

      Hello Gurus,

       

      We were trying to delete a datasource using API as mentioned in the guide

       

      According to Tableau Delete datasource API documentation: https://onlinehelp.tableau.com/current/api/rest_api/en-us/REST/rest_api_ref.htm#Delete_Datasource, the url in REST call should be configured like this: DELETE /api/api-version/sites/site-id/datasources/datasource-id

       

      Created the URL accordingly:

      https://servername.com/api/2.7/sites/UAT/datasources/53907/

      It runs, however throws a 404

      The user has editor/owner access for that datasource.

       

      Strangely.. at the bottom, it even suggests that the command was successful. However, it was not!

       

      Appreciate any suggestions..

       

      Regards,

      Atul B