Agency Hosting: PHP
Replace website PHP options
Replaces the custom php.ini values on an Agency Plan website with the ones provided. Any option not in the request is reset to its default, so call the options endpoint first and send the full desired set. Sending an empty array resets every option to its default.
put/api/agency-hosting/v1/websites/{website_uid}/php-settings/options
Path parameters
website_uidstring required
Example:zpwlGlp19
Agency Plan website UID
Request body
Example request
{
"options": [
{
"name": "memory_limit",
"value": "256M"
}
]
}Response
Success empty response
Example response
{
"message": "Request accepted"
}