Turn the password protection of a folder on or off, and add a user or change a user's password.Send username and password together with enabled: true to add that user, or to give an existing user a new password. A protected folder without users lets nobody in. Turning the protection off also removes its users.Scope: hosting-files:write.
Request
Authorization
API Key
Add parameter in header
API-key
Example:
API-key: ********************
or
Bearer Token
Provide your bearer token in the
Authorization
header when making requests to protected resources.