sites
Set PHP File System Permissions
PHP FS Permissions control how a site's filesystem is mounted during PHP-handled HTTP requests. This setting determines whether PHP can read from and/or write to the site's files.
put/sites/{id}/php_fs_permissions
Request
- Base URLhttps://my.pressable.com/v1
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
idinteger required
Request body
Response
Successful Response
Example response
{
"message": "There was a problem processing your request.",
"errors": [
"PHP FS permission is not valid. Must be one of the following: rw, ro, or loggedin"
]
}Changes
No recorded changes to this operation across all 2 revisions of this API.