You can change the whole namespace configuration or only some of the namespace settings.
To change the configuration of an existing namespace, you must have the Namespaces.Configure privilege on the Supervisor.
Before deleting a storage policy from vCenter Server or a vSphere Namespace, or changing the storage policy assignment, make sure that no persistent volume claim with the corresponding storage class runs in the namespace. Also, ensure that no Tanzu Kubernetes cluster is using the storage class.
To patch a namespace configuration, use the PATCH https://<vcenter_ip_address_or_fqdn>/api/vcenter/namespaces/instances/<namespace_id>
request and submit an UpdateSpec JSON object in the request body. You set new values only to the configuration settings that you want to change. The parameters of the update specification are the same as the ones you configured during the namespace creation. When you issue the update request only the settings that you configured in the update specification are applied, the other settings are left as they are.
To reconfigure a namespace entirely, you must issue a PUT https://<vcenter_ip_address_or_fqdn>/api/vcenter/namespaces/instances/<namespace_id>
request and submit a SetSpec JSON object in the request body. You can change the description, access controls, storage settings, and resource limitations of the specific namespace.