latestOpenAPI 3.1.02026-08-1076186318.8 KB
ab648a80ca4d
WordPress Site Environments
Change PHP allocation settings for a site's live and standard staging environments
post/sites/{site_id}/change-site-php-allocation
Path parameters
site_idstring uuid required
Example:54fb80af-576c-4fdc-ba4f-b596c83f15a1
Request body
Example request
{
"worker_number": 2,
"worker_memory": 256
}Response
Site PHP allocation change action started. Check MyKinsta for status
Example response
{
"operation_id": "sites:change-site-php-allocation-54fb80af-576c-4fdc-ba4f-b596c83f15a1",
"message": "Site PHP allocation change in progress",
"status": 202
}