Skip to main content
PATCH
Update a device alert rule

承認

Authorization
string
header
必須

For authenticated requests, set the Authorization: Bearer your_api_key parameter in the header.
You can create and manage your API Keys by visiting the API Keys tab in the Settings page of your organization in Admina

パスパラメータ

organizationId
number
必須
ruleId
number
必須

ボディ

application/json
name
string
:

"macOS 4-Year Swap"

description
string
deviceGroupId
number
condition
object
urgency
enum<string>
利用可能なオプション:
critical,
warning
isEnabled
boolean

レスポンス

id
number
必須
:

42

alertType
enum<string>
必須
利用可能なオプション:
retired_account,
inactive_account,
on_leave_account,
unknown_account,
public_files,
device_unreturned_assigned,
device_unreturned_leased,
device_replacement,
device_inactive,
device_mdm_compliance,
device_inventory_shortage
:

"device_replacement"

name
string
必須
:

"macOS 4-Year Swap"

urgency
enum<string>
必須
利用可能なオプション:
critical,
warning
:

"warning"

description
string | null
必須
deviceGroupId
number | null
必須

Null when the rule targets all devices in the organization — always the case for the Standard Rule, and allowed for custom rules. Use isStandard to tell the two apart.

:

7

isStandard
boolean
必須

Standard Rule targets all devices and cannot be deleted

condition
object
必須
isEnabled
boolean
必須
createdAt
string<date-time>
必須
updatedAt
string<date-time>
必須
最終更新日 2026年9月15日