Reference
Update namespace
Makes a namespace public or private.
PATCH
bearerheader
AuthorizationBearer <token>namespace*stringA namespace of your organization, such as prod/app, or <org>:<namespace> for a public namespace of another one. Encode / as %2F.
application/json- body
visibility*Visibilityprivate: only the organization's keys and members. public: anyone may also read it, without a key, by naming it <org>:<namespace>.
Value in
"private""public"Done.
curl -X PATCH 'https://example.com/v1/namespaces/string' \ -H 'Content-Type: application/json' \ -d '{ "visibility": "private"}'Example Response
Empty