agency-hosting_replaceWebsitePHPExtensionsV1
Replace the enabled PHP extensions on an Agency Plan website with a specified set. Fetch the current extensions first, then send the full desired list to activate or disable toggleable options while preserving built-in ones.
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 |