package_update
Update a dataset (package).
You must be authorized to edit the dataset and the groups that it belongs to.
Note
package_patch instead.It is recommended to call ckan.logic.action.get.package_show(), make the desired changes to the result, and then call package_update() with it.
Plugins may change the parameters of this function depending on the value of the dataset's type attribute, see the IDatasetForm plugin interface.
Authorization
apiTokenHeader CKAN API token
In: header
Request Body
multipart/form-data
TypeScript Definitions
Use the request body type in TypeScript.
curl -X PUT "http://localhost:5000/api/3/action/package_update"