Enable read-only mode¶
Before performing any maintenance or configuration changes, place the MSR in read-only mode. This ensures data consistency and prevents unwanted modifications during these operations. To enable read-only mode, run the following command:
curl -u <username>:$TOKEN -X POST "https://<msr-url>/api/v0/meta/settings" -H "accept: application/json" -H "content-type: application/json" -d "{ \"readOnlyRegistry\": true }"