Private
Update the state of a version
Changed onUpdate the state of a version of a static dataset.
put/datasets/{id}/editions/{edition}/versions/{version}/state
Request
- Base URLhttps://api.beta.ons.gov.uk/v1
- AuthAPI key in header Authorization
Path parameters
idstring required
ID that represents a dataset
editionstring required
An edition of a dataset
versionstring required
A version of a dataset
Request body
Example request
{
"state": "published"
}Response
State updated successfully
Changes
- info
endpoint added
- info