Skip to main content
WordPress

Unlock a WordPress installation

Asynchronous Request

Runs the Webdock de-harden script on the registered WordPress install on this server: it recursively chowns the whole WordPress directory to the web user/group, sets 775 permissions on ALL files and directories under the install path, deletes .htaccess files in the previously PHP-disallowed paths (Apache), and removes the Webdock hardening block from the Nginx site config. This does not restore any pre-lockdown ownership, permission state, or custom .htaccess content; those are overwritten or removed. Managed WordPress requires a profile where wordpressManagementIncluded=true; discover/select an eligible profile with GET /profiles before provisioning, and expect rejection when invoked on servers using an ineligible profile.

POST
/servers/{serverSlug}/wordpress/unlock
Authorizationstringheaderrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

serverSlugstringrequired

Slug of the server

WordPress unlock initiated.

X-Callback-IDstringheader

CallbackID