We are automating the creation of data sets with Carto. Now we would like to be able to lock to avoid unwanted changes in the data.

We know that this can be done through the dashboard, but is it possible to do it through the API? We do not find this in the documentation.

1 Answer 1


There is no public API to perform that task, even it's supported (with proper warning notice) by CARTO Python SDK, search for the Update the properties of a dataset example. In your case you are looking for the dataset.locked property.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.