latestOpenAPI 3.1.02026-08-1076186318.8 KB

ab648a80ca4d

WordPress Site Themes & Plugins

Update WP Theme

put/sites/environments/{env_id}/themes

Path parameters

env_idstring uuid required
Example:54fb80af-576c-4fdc-ba4f-b596c83f15a1

Request body

namestring required
update_versionstring required

Example request

{
  "name": "akismet",
  "update_version": "5.3"
}

Response

Updating of theme started. Check MyKinsta for status

operation_idstring
messagestring required
statusnumber required

Example response

{
  "operation_id": "wp-theme:update-54fb80af-576c-4fdc-ba4f-b596c83f15a1",
  "message": "Updating WordPress theme in progress",
  "status": 202
}