---
title: "POST /api/v1/maintenance-actions/latest-action-for-tenants"
method: POST
path: "/api/v1/maintenance-actions/latest-action-for-tenants"
tags: ["MaintenanceActions"]
---

# POST /api/v1/maintenance-actions/latest-action-for-tenants

`POST /api/v1/maintenance-actions/latest-action-for-tenants`

## Request

- Base URL: `https://api.immy.bot` (the document declares no server; this is the origin it was published from)
- URL: `https://api.immy.bot/api/v1/maintenance-actions/latest-action-for-tenants`
- Auth: none declared

## Request body

- GetLatestActionForTenantsRequestBody
  - `dateUtc` string, date-time, nullable
  - `tenantIds` integer[], nullable
  - `maintenanceIdentifier` string, nullable, required
  - `maintenanceType` 'GlobalSoftware' | 'LocalSoftware' | 'WindowsUpdate' | 'ChocolateySoftware' | 'NiniteSoftware' | 'LocalMaintenanceTask' | 'GlobalMaintenanceTask' | 'AgentUpdate': The string or integer value may be used. GlobalSoftware = 0, LocalSoftware = 1, WindowsUpdate = 2, ChocolateySoftware = 3, NiniteSoftware = 4, LocalMaintenanceTask = 5, GlobalMaintenanceTask = 6, AgentUpdate = 7

## Response `200`

OK

- unknown[]
  - unknown

---

[API](https://skmtc.dev/immy/apis/immy-bot-api-2.md) · [All operations](https://skmtc.dev/immy/apis/immy-bot-api-2/llms.txt) · [OpenAPI document](https://skmtc.dev/immy/apis/immy-bot-api-2/revisions/75b50268fa51?raw)
