---
title: "Update Package Config (Self)"
method: PATCH
path: "/api/package-configs/{packageType}"
tags: ["Package Configs"]
---

# Update Package Config (Self)

`PATCH /api/package-configs/{packageType}`

## Request

- Base URL: `https://uptimeify.io`
- URL: `https://uptimeify.io/api/package-configs/{packageType}`
- Auth: HTTP bearer

PATCH /api/package-configs/:packageType

## Path parameters

- `packageType` string, required

## Request body

- object
  - `packageType` string
  - `displayName` string
  - `maxUrls` integer
  - `allowedCheckCountryCodes` string[], nullable: ISO country codes the monitors may be checked from; empty or null = every location.
  - `dataRetentionMonths` integer
  - `checkIntervalMinutes` integer
  - `checkLocations` integer
  - `notificationDelayMinutes` integer
  - `reminderDelayMinutes` integer
  - `alertConsecutiveChecks` integer
  - `alertLocationThreshold` string
  - `alertLocationThresholdCount` integer
  - `alertReminderInterval` integer
  - `dnsblReminderInterval` integer, nullable
  - `sslExpiryReminderInterval` integer, nullable
  - `enableSslCheck` boolean
  - `enableHttpsCheck` boolean
  - `enableStatusCheck` boolean
  - `enableSizeCheck` boolean
  - `enableResponseTimeCheck` boolean
  - `enableKeywordCheck` boolean
  - `enableEmailAlerts` boolean
  - `enableSmsAlerts` boolean
  - `enableWebhookAlerts` boolean
  - `enableIntegrationAlerts` boolean
  - `enablePostRequestEscalation` boolean
  - `enableMaintenanceWindows` boolean
  - `enablePdfReports` boolean
  - `monthlyReportsDefault` boolean
  - `enableSupportTeamAlerts` boolean
  - `enable247Support` boolean
  - `allowSelfService` boolean
  - `maxSelfServiceUrls` integer
  - `notes` string, nullable

## Response `200`

Successful response

- object
  - `id` integer, required
  - `packageType` string, required
  - `displayName` string, nullable, required
  - `maxUrls` integer, nullable, required
  - `allowedCheckCountryCodes` string[], nullable, required: ISO country codes of the allowed check locations; null = all.
  - `dataRetentionMonths` integer, nullable, required
  - `checkIntervalMinutes` integer, nullable, required
  - `checkLocations` integer, nullable, required
  - `notificationDelayMinutes` integer, nullable, required
  - `reminderDelayMinutes` integer, nullable, required
  - `alertConsecutiveChecks` integer, nullable, required
  - `alertLocationThreshold` string, nullable, required
  - `alertLocationThresholdCount` integer, nullable, required
  - `alertReminderInterval` integer, nullable, required
  - `dnsblReminderInterval` integer, nullable, required
  - `sslExpiryReminderInterval` integer, nullable, required
  - `enableSslCheck` boolean, required
  - `enableHttpsCheck` boolean, required
  - `enableStatusCheck` boolean, required
  - `enableSizeCheck` boolean, required
  - `enableResponseTimeCheck` boolean, required
  - `enableKeywordCheck` boolean, required
  - `enableEmailAlerts` boolean, required
  - `enableSmsAlerts` boolean, required
  - `enableWebhookAlerts` boolean, required
  - `enableIntegrationAlerts` boolean, required
  - `enablePostRequestEscalation` boolean, required
  - `enableMaintenanceWindows` boolean, required
  - `enablePdfReports` boolean, required
  - `monthlyReportsDefault` boolean, required
  - `allowSelfService` boolean, required
  - `maxSelfServiceUrls` integer, required
  - `flappingEnabled` boolean, required
  - `flappingIncidentCount` integer, required
  - `flappingWindowMinutes` integer, required
  - `flappingRecoveryCleanCycles` integer, required
  - `alertRepeatIntervalMinutes` integer, required
  - `notes` string, nullable, required
  - `createdAt` string, date-time, required
  - `updatedAt` string, date-time, required

## Other responses

- `400`: Invalid or missing parameters.
- `401`: Missing, invalid or expired API token.
- `404`: No such resource, or not visible to this token.
- `500`: Unexpected server error.

---

[API](https://skmtc.dev/uptimeify/apis/uptimeify-rest-api.md) · [All operations](https://skmtc.dev/uptimeify/apis/uptimeify-rest-api/llms.txt) · [OpenAPI document](https://skmtc.dev/uptimeify/apis/uptimeify-rest-api/revisions/2129a771ee7e?raw)
