urryicb
New Member.
1818 views

curl + set an object’s visibility

how to use curl to set visibility of the object is None ?
Labels (1)
0 Likes
4 Replies
Knowledge Partner
Knowledge Partner

=?UTF-8?Q?Re:_curl_+_set_an_object=e2=80=99s_visibility?=

Probably something like this:


curl -X PUT GET -k
https://your.server.goes.here:9710/gwadmin-service/domains/domainname/postoffices/postofficename/users/username
-d '{"VISIBILITY":"NONE"}'


Just a guess.


--
Good luck.

If you find this post helpful and are logged into the web interface,
show your appreciation and click on the star below...
0 Likes
urryicb
New Member.

Re: =?UTF-8?Q?Re:_curl_+_set_an_object=e2=80=99s_visibility?

does not work,

operating parameters
-d '{"visibility":"NONE"}'


Thank
0 Likes
Knowledge Partner
Knowledge Partner

=?UTF-8?Q?Re:_curl_+_set_an_object=e2=80=99s_visibility?=

On 03/31/2016 06:36 AM, Urryicb wrote:
>
> does not work


Did you authenticate?

--
Good luck.

If you find this post helpful and are logged into the web interface,
show your appreciation and click on the star below...
0 Likes
urryicb
New Member.

Re: =?UTF-8?Q?Re:_curl_+_set_an_object=e2=80=99s_visibility?

work -d '{"visibility":"NONE"}'
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.