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

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>