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.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Route-level reference for MainWP REST API v2 update endpoints, including listing updates, running updates, and managing ignored updates.
{id_or_domain} accepts either a numeric site ID or a site domain.
| 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 |
| 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 |
| 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 |
curl -H "Authorization: Bearer YOUR_API_KEY" \
"https://your-dashboard.com/wp-json/mainwp/v2/updates?type=plugins"
{
"success": 1,
"data": {
"12": {
"plugins": {
"akismet/akismet.php": {
"Name": "Akismet"
}
}
}
}
}
curl -X POST \
-H "Authorization: Bearer YOUR_API_KEY" \
"https://your-dashboard.com/wp-json/mainwp/v2/updates/12/update"
{
"success": 1,
"message": "Site updates started successfully."
}
curl -X POST \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"slug":"akismet/akismet.php,jetpack/jetpack.php"}' \
"https://your-dashboard.com/wp-json/mainwp/v2/updates/12/ignore/plugins"
{
"success": 1,
"message": "Ignore update plugins per site successfully."
}
