{"metadata":{"image":[],"title":"","description":""},"api":{"url":"/datasources/{id}","auth":"required","examples":{"codes":[{"language":"text","code":"https://api.goformz.com/v2/datasources/e7a786bb-30a3-422b-ad22-a4b2010ad28b","name":"Url"},{"code":"{\n  \"name\": \"string\",\n  \"isPublic\": true,\n  \"copyLocal\": true,\n  \"indexes\": [\n    \"string\"\n  ]\n}","name":"JSON Object","language":"json"}]},"method":"patch","params":[{"name":"id","type":"string","default":"","desc":"Id of the data source","required":true,"in":"path","ref":"","_id":"556e646b3f11b01900a36a54"},{"name":"body","type":"object","default":"","desc":"dataSource Object","required":true,"in":"body","ref":"","_id":"55b93349feef5135009b7e01"}],"results":{"codes":[{"code":"no content","name":"","status":200,"language":"text"},{"name":"","status":400,"language":"text","code":"no content"},{"status":404,"language":"text","code":"no content"}]},"settings":""},"next":{"description":"","pages":[]},"title":"Update an Existing Data Source","type":"endpoint","slug":"update-an-existing-data-source-1","excerpt":"","body":"Updates an existing Datasource specified by the Datasource object.\n\n</br><a href=\"https://api.goformz.com/docs/api/explorer/index#!/DataSources/DataSources_Patch\" target=\"_blank\"><img src=\"https://files.readme.io/9Z82WIZnS7mZmco8oi4u_TryItNow3.png\" style=\"margin-left:15px\" width=\"128\" height=\"42\" ></a>","updates":[],"order":3,"isReference":false,"hidden":false,"sync_unique":"","link_url":"","link_external":false,"_id":"557853bbe6063e0d004816fb","editedParams":true,"githubsync":"","user":"5535b4453891010d00f0bb58","__v":2,"category":{"sync":{"isSync":false,"url":""},"pages":["556e0fbfc9d85a1900914cb7","556e12e6c9d85a1900914ccd","556e55f1d02e0b190042f20f","556e564c3f11b01900a36a35","556e6440d02e0b190042f22e","556f5a8c9893290d00988c3c","556f5c72ebba950d008e94bc","556f6f73ebba950d008e952e","5571d2c91cd8283500a8b48b","5571f0b86d8908230061f42b","5571f3df6d8908230061f448","557853bbe6063e0d004816fb","557859b727f77c0d00fe61a2"],"title":"Data Sources","slug":"data-sources","order":8,"from_sync":false,"reference":false,"_id":"556e0f23d02e0b190042f13d","__v":13,"createdAt":"2015-06-02T20:16:35.357Z","version":"553591cd63cc650d00312925","project":"55357364e02d480d0003c6d3"},"createdAt":"2015-06-10T15:11:55.246Z","editedParams2":true,"project":"55357364e02d480d0003c6d3","version":{"version":"2","version_clean":"2.0.0","codename":"","is_stable":true,"is_beta":false,"is_hidden":false,"is_deprecated":false,"categories":["553591cd63cc650d00312926","553591cd63cc650d00312927","5536e4d39f7f2d0d00b1cd54","5536e55c20d5ca0d0001580a","5536e6bf7fe60f0d000fd1c0","5536f5bba171250d00c00556","553a974369c2630d00a8562e","553a97c60074c80d00621c2a","553a98332af5f20d000fc32a","553a9b9869c2630d00a85642","556e0f23d02e0b190042f13d","563249b1dcc27a1700823650","5639113f049e420d00476b03","59a5dd94aaa11d003334edb4"],"_id":"553591cd63cc650d00312925","project":"55357364e02d480d0003c6d3","releaseDate":"2015-04-20T23:54:53.134Z","__v":13,"forked_from":"55357365e02d480d0003c6d6","createdAt":"2015-04-20T23:54:53.134Z"},"parentDoc":null}

patchUpdate an Existing Data Source


Definition

{{ api_url }}{{ page_api_url }}

Parameters

Path Params

id:
required
string
Id of the data source

Body Params

body:
required
object
dataSource Object

Examples


Result Format


Documentation

Updates an existing Datasource specified by the Datasource object. </br><a href="https://api.goformz.com/docs/api/explorer/index#!/DataSources/DataSources_Patch" target="_blank"><img src="https://files.readme.io/9Z82WIZnS7mZmco8oi4u_TryItNow3.png" style="margin-left:15px" width="128" height="42" ></a>