Set visibility

POST/api/set-visibility

Sets a group (by name) or report (by code) to public, private, or org (visible to members of the owning organization; requires the item's owner to be an organization and the caller to already be a member of it). For a group, every version is updated together. Requires reports:write.

Body Parameters

namestring
codestring
visibilitystringrequired
One of public, private, org.