Delete restrictions

DELETE {{baseUrl}}/api/content/:id/restriction?expand=<string>&expand=<string>

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

Permissions required: Permission to edit the content.

Request Params

KeyDatatypeRequiredDescription
expandstringA 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. | | expand | string | | 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. |

RESPONSES

status: OK

{&quot;results&quot;:[{&quot;operation&quot;:&quot;purge&quot;,&quot;_expandable&quot;:{&quot;restrictions&quot;:&quot;Excepteur dolore Ut labore&quot;,&quot;content&quot;:&quot;tempor esse officia&quot;},&quot;_links&quot;:{},&quot;restrictions&quot;:{&quot;user&quot;:{&quot;results&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;start&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;limit&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;size&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}},&quot;group&quot;:{&quot;results&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;start&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;limit&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;size&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}},&quot;_expandable&quot;:{&quot;user&quot;:&quot;in in mollit Ut occaecat&quot;,&quot;group&quot;:&quot;irure qui consectetur incididunt&quot;}},&quot;content&quot;:{&quot;value&quot;:&quot;\u003cCircular reference to #/components/schemas/Content detected\u003e&quot;}},{&quot;operation&quot;:&quot;delete&quot;,&quot;_expandable&quot;:{&quot;restrictions&quot;:&quot;nisi id&quot;,&quot;content&quot;:&quot;ut in mollit enim&quot;},&quot;_links&quot;:{},&quot;restrictions&quot;:{&quot;user&quot;:{&quot;results&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;start&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;limit&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;size&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}},&quot;group&quot;:{&quot;results&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;start&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;limit&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;size&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}},&quot;_expandable&quot;:{&quot;user&quot;:&quot;est voluptate&quot;,&quot;group&quot;:&quot;in&quot;}},&quot;content&quot;:{&quot;value&quot;:&quot;\u003cCircular reference to #/components/schemas/Content detected\u003e&quot;}}],&quot;start&quot;:17789838,&quot;limit&quot;:13313455,&quot;size&quot;:-47874490,&quot;restrictionsHash&quot;:&quot;Lorem commodo pariatur Ut eiusmod&quot;,&quot;_links&quot;:{}}