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