Replace website PHP extensions
agency-hosting_replaceWebsitePHPExtensionsV1Replace a website's PHP extensions with a specified set, disabling any toggleable extension not included. Fetch the current list first to build the full desired set.
Instructions
Replaces the set of PHP extensions enabled on an Agency Plan website with the ones provided. Any toggleable extension not in the request is disabled, so call the extensions endpoint first and send the full desired set. Extensions compiled into PHP, reported with the "built-in" state, are always active and are unaffected.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| extensions | Yes | Extension names, exactly as returned by the extensions endpoint. | |
| website_uid | Yes | Agency Plan website UID |