sites

Basic Authentication

The "Basic Authentication" feature allows you to easily restrict public access to your website. When installed, it activates the Pressable Basic Authentication plugin, which requires anyone visiting your site to enter a username and password before gaining access. This is especially useful for in-progress development sites where you want to keep content private. Removing the Basic Authentication plugin removes this login requirement, making your site fully open to the public. Be sure all content is production-ready before turning it off to ensure a professional experience for your audience.

put/sites/{id}/basic-authentication

Request

Path parameters

idinteger required

Request body

enabledboolean

Response

Successful Response

messagestring

Example response

{
  "message": "Success"
}

Changes

No recorded changes to this operation across all 2 revisions of this API.