Change publication visibility
Changes publication's visibility.
Path Parameters
- idstringrequired
The ID of the publication to change the visibility for.
Body
application/json
updatedFields
string required
A comma-separated list of field names that will be updated. If a field name is not in the list, it will not be updated even if the field value is specified in other request parameters.
Example
visibilityvisibility
string enum required
The new visibility value. It can be one of the following case-sensitive values - Private, Restricted, Public
- Private
- Restricted
- Public
Responses
PATCH/projects/{id}
{
"createdOn": "2024-05-17T20:21:51",
"fullUrl": "https://docs.hedronlabs.org/articles/my-manual-publication",
"id": "my-manual-publication",
"parentId": "project-my-manual",
"title": "My Manual Publication",
"url": "my-manual-publication",
"visibility": "Private",
"lang": "en-US",
"baseLangProjectId": null
}