mu-plugins
Update Must-Use Plugin
This action will refresh the mu-plugin identified by the given ID across all sites in your account, incorporating any modifications from the specified path. If you have relocated your mu-plugin to a different path, you will need to delete the plugin associated with the previous path and create a new one using the updated path.
put/mu-plugins/{id}
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
Response
Successful Response
Example response
{
"message": "Success",
"data": {
"id": 1,
"created": "2023-01-31T20:05:30.000Z",
"existing_sites": false,
"future_sites": true,
"path": "https://raw.githubusercontent.com/pressable/pressable-maintenance-mode/main/pressable-maintenance-mode.php",
"slug": "pressable-maintenance-mode.php"
}
}Changes
No recorded changes to this operation across all 2 revisions of this API.