MindTouch Developer Center > MindTouch Deki > API Reference > DELETE:pages/{pageid}/security

DELETE:pages/{pageid}/security

Overview

public. Reset page restricts and grants

Uri Parameters
NameTypeDescription
pageidstringeither an integer page ID, "home", or "=" followed by a double uri-encoded page title
Query Parameters
NameTypeDescription
redirectsint?If zero, do not follow page redirects.
Return Codes
NameValueDescription
BadRequest400Invalid input parameter or request body
Forbidden403Change permissions access to the page is required
NotFound404The requested page could not be found
Ok200The request completed successfully

Message Format

None

Implementation Notes

The page restriction and all grants on the page are removed. Existing descendant pages are unaffected, but new descendant pages will inherit the updated security settings.

Code Samples

The following code example resets the security settings on the home page:

Plug p = Plug.New("http://deki-hayes/@api/deki");
p.At("users", "authenticate").WithCredentials("admin", "password").Get();
p.At("pages", "home", "security").Delete();
Tag page
You must login to post a comment.