NamesSpace properties

Hi,

  1. Is it possible to update existing Namespace properties like Retention period?

  2. Is it possible to delete Namespace?Is possible to

  3. What is min and max retention period is allowed?
    When i try to keep for a hour I am getting below error

    INVALID_ARGUMENT: A valid retention period is not set on request.

    RegisterNamespaceRequest.newBuilder().setNamespace(TEMPORAL_NS)
    .setWorkflowExecutionRetentionPeriod(Durations.fromHours(1))
    .setHistoryArchivalState(ArchivalState.ARCHIVAL_STATE_ENABLED)
    .setVisibilityArchivalState(ArchivalState.ARCHIVAL_STATE_ENABLED)
    .setHistoryArchivalUri(“file:///tmp/temporal_archival”)
    .setVisibilityArchivalUri(“file:///tmp/temporal_vis_archival”).build();

Q: Is it possible to update existing Namespace properties like Retention period?
A: yes, use update namespace API

Q: Is it possible to delete Namespace
A: this feature is not supported

Q: What is min and max retention period is allowed
A: min 1 day, max 30 days