Change published visibility
PATCH/report/:id/visibility
Publishes a new version using the current published content with the new visibility, and updates the draft to match. Returns 204 if the visibility is unchanged, and 400 if the report has no published version.
Request
Responses
- 200
- 204
- 4XX
- 5XX
The new published version created with the new visibility.
The visibility was already set to the requested value; nothing changed.
Client error responses due to invalid input or missing parameters.
Internal server error due to an unexpected issue.