Skip to main content
Server Actions

Disable Basic Auth on a stack server

Asynchronous Request

Runs the Disable Basic Auth script on a LAMP/LEMP stack server and removes one protected path per request. If other protected paths remain, Basic Auth stays enabled for those paths.

POST
/servers/{serverSlug}/actions/disable-basic-auth
Authorizationstringheaderrequired

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

serverSlugstringrequired

Slug of the server

Body

application/json
pathstringrequired

URL path to unprotect. Must begin with /. Removes protection for that path and its subpaths.

Example: /admin

Disable Basic Auth initiated.

X-Callback-IDstringheader

CallbackID