v1

latestOpenAPI 3.0.12026-07-13130168404.3 KB
Content restrictions

Delete restrictions

Removes all restrictions (read and update) on a piece of content.

Permissions required: Permission to edit the content.

delete/wiki/rest/api/content/{id}/restriction

Path parameters

idstring required

The ID of the content to remove restrictions from.

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.

Response

Returned if the restrictions are removed.

startinteger required
limitinteger required
sizeinteger required
restrictionsHashstring required

This property is used by the UI to figure out whether a set of restrictions has changed.

_linksGenericLinks required