Use the MainWP Postman collection as the source of truth for request and response schemas.
{id_or_domain} accepts either a numeric site ID or a site domain.
Route Matrix
Read Update Data
| Method | Path | Purpose | Key Params |
|---|---|---|---|
| GET | /updates | List available updates across sites | type (all, wp, plugins, themes, translations), search, include, exclude |
| GET | /updates/{id_or_domain} | List available updates for one site | type, search |
| GET | /updates/ignored | List globally ignored plugin/theme updates | type (plugins, themes, all), search |
| GET | /updates/{id_or_domain}/ignored | List ignored updates for one site | type, search |
Run Updates
| Method | Path | Purpose | Key Params |
|---|---|---|---|
| POST, PUT, PATCH | /updates/update | Trigger update-all across Dashboard | Optional type |
| POST, PUT, PATCH | /updates/{id_or_domain}/update | Trigger update-all for one site | id_or_domain |
| POST, PUT, PATCH | /updates/{id_or_domain}/update/wp | Update WordPress core on one site | id_or_domain |
| POST, PUT, PATCH | /updates/{id_or_domain}/update/plugins | Update plugins on one site | Optional slug (single or comma list) |
| POST, PUT, PATCH | /updates/{id_or_domain}/update/themes | Update themes on one site | Optional slug |
| POST, PUT, PATCH | /updates/{id_or_domain}/update/translations | Update translations on one site | Optional slug |
Ignore Updates
| Method | Path | Purpose | Key Params |
|---|---|---|---|
| POST, PUT, PATCH | /updates/{id_or_domain}/ignore/wp | Ignore core update on one site | id_or_domain |
| POST, PUT, PATCH | /updates/{id_or_domain}/ignore/plugins | Ignore plugin updates on one site | Optional slug |
| POST, PUT, PATCH | /updates/{id_or_domain}/ignore/themes | Ignore theme updates on one site | Optional slug |