Update Package
POST
/gpm/update
Update a specific installed plugin or theme to the latest version.
Parameters
| Name | Type | Description |
|---|---|---|
| package required | string | Package slug to update |
JSON
{"package": "admin"}
JSON
{"data": {"message": "Package 'admin' updated successfully.", "package": "admin"}}
Response Codes
200
Package updated
401
Unauthorized
422
Package not updatable or not installed
500
Update failed