Report versions
Change published visibility
Changed onPublishes 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.
patch/report/{id}/visibility
Request
- Base URLhttps://api.nullplatform.com
- URLhttps://api.nullplatform.com/report/{id}/visibility
- AuthHTTP bearer
Path parameters
idstring uuid required
The unique identifier of the report.
Request body
Example request
{
"visibility": "user"
}Response
The new published version created with the new visibility.
Example response
{
"id": "183ab994-792a-412a-91fa-60552ff1aa7f",
"report_id": "ff5970bf-592d-4a8d-b858-3175ec444562",
"version_number": 1,
"name": "Deployment frequency",
"slug": "deployment-frequency",
"description": "How often each application deploys",
"visibility": "user",
"published_by": "1234",
"created_at": "2026-07-20T12:00:00Z",
"updated_at": "2026-07-20T12:00:00Z"
}Changes
- info
endpoint added
- info