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

Path parameters

idinteger required

Request body

php_fs_permissionstring

Response

Successful Response

messagestring
errorsstring[]

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.