Content restrictions
Update restrictions
Updates restrictions for a piece of content. This removes the existing restrictions and replaces them with the restrictions in the request.
Permissions required: Permission to edit the content.
put/wiki/rest/api/content/{id}/restriction
Path parameters
idstring required
The ID of the content to update restrictions for.
Query parameters
expandstring[]
A multi-value parameter indicating which properties of the content restrictions (returned in response) to expand.
- restrictions.user returns the piece of content that the restrictions are applied to. Expanded by default.
- restrictions.group returns the piece of content that the restrictions are applied to. Expanded by default.
- content returns the piece of content that the restrictions are applied to.
Request body
Response
Returned if the requested restrictions are updated.
Changes
No recorded changes to this endpoint across all 1 revision of this API.