Project
Update Project
Endpoint to update an existing Project
put/project/{id}
Request
- Base URLhttps://oneuptime.com/api
- AuthAPI key in header APIKey
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
idstring uuid required
ID of the Project to update
Request body
Example request
{
"data": {
"name": "Example Text",
"requireSsoForLogin": true,
"autoRechargeSmsOrCallByBalanceInUSD": 42,
"autoRechargeSmsOrCallWhenCurrentBalanceFallsInUSD": 42,
"enableSmsNotifications": true,
"enableWhatsAppNotifications": true,
"enableTelegramNotifications": true,
"enableCallNotifications": true,
"disableOnCallNotificationFallback": true,
"enableAutoRechargeSmsOrCallBalance": true,
"autoAiRechargeByBalanceInUSD": 42,
"autoRechargeAiWhenCurrentBalanceFallsInUSD": 42,
"enableAi": true,
"enableAutomaticIncidentInvestigation": true,
"enableAutomaticAlertInvestigation": true,
"enableAutomaticSecurityCaseTriage": true,
"enableSecurityRiskCases": true,
"securityRiskCaseThreshold": 42,
"enableAutomaticIncidentRemediation": true,
"enableAutomaticAlertRemediation": true,
"enableAutomaticPostmortemDraft": true,
"acknowledgeLinkedAlertsWhenIncidentAcknowledged": true,
"resolveLinkedAlertsWhenIncidentResolved": true,
"limitIncidentsToOneEpisode": true,
"limitAlertsToOneEpisode": true,
"enableAiInsights": true,
"enableInsightFixTasks": true,
"enableAutomaticProfileRemediation": true,
"enableAutomaticTraceRemediation": true,
"enableAutomaticExceptionRemediation": true,
"enableAutomaticMetricRemediation": true,
"enableAutomaticLogRemediation": true,
"autoArchiveNonActionableExceptions": true,
"enableAutoRechargeAiBalance": true,
"sendInvoicesByEmail": true,
"useGlobalRunners": true,
"enableAuditLogs": true,
"isSessionReplayAllowed": true,
"storeSystemEventsInAuditLogs": true,
"recordAndTranscribeIncidentCalls": true
}
}Response
Updated successfully
Example response
{
"data": {
"_id": "aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa",
"createdAt": {
"_type": "DateTime",
"value": "2023-10-01T12:00:00Z"
},
"updatedAt": {
"_type": "DateTime",
"value": "2023-10-01T12:00:00Z"
},
"deletedAt": {
"_type": "DateTime",
"value": "2023-10-01T12:00:00Z"
},
"name": "Example Text",
"slug": "example-slug",
"paymentProviderPlanId": "Example Text",
"paymentProviderSubscriptionId": "Example Text",
"paymentProviderMeteredSubscriptionId": "Example Text",
"paymentProviderSubscriptionSeats": 42,
"trialEndsAt": {
"_type": "DateTime",
"value": "2023-10-01T12:00:00Z"
},
"paymentProviderCustomerId": "Example Text",
"businessDetails": "This is an example of longer text content that provides detailed information.",
"businessDetailsCountry": "Example Text",
"financeAccountingEmail": "This is an example of longer text content that provides detailed information.",
"paymentProviderSubscriptionStatus": "Example Text",
"paymentProviderMeteredSubscriptionStatus": "Example Text",
"paymentProviderPromoCode": "Example Text",
"createdByUser": {
"_id": "bbbbbbbb-bbbb-bbbb-bbbb-bbbbbbbbbbbb"
},
"createdByUserId": "aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa",
"deletedByUserId": "aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa",
"isFeatureFlagMonitorGroupsEnabled": true,
"workflowRunsInLast30Days": 42,
"requireSsoForLogin": true,
"requireSsoWithSsoProviderId": "aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa",
"incidentNumberPrefix": "Example Text",
"alertNumberPrefix": "Example Text",
"scheduledMaintenanceNumberPrefix": "Example Text",
"securityCaseNumberPrefix": "Example Text",
"incidentEpisodeNumberPrefix": "Example Text",
"alertEpisodeNumberPrefix": "Example Text",
"incidentNumbersStartAt": 42,
"incidentEpisodeNumbersStartAt": 42,
"alertNumbersStartAt": 42,
"alertEpisodeNumbersStartAt": 42,
"scheduledMaintenanceNumbersStartAt": 42,
"securityCaseNumbersStartAt": 42,
"smsOrCallCurrentBalanceInUSDCents": 42,
"autoRechargeSmsOrCallByBalanceInUSD": 42,
"autoRechargeSmsOrCallWhenCurrentBalanceFallsInUSD": 42,
"enableSmsNotifications": true,
"enableWhatsAppNotifications": true,
"enableTelegramNotifications": true,
"enableCallNotifications": true,
"disableOnCallNotificationFallback": true,
"enableAutoRechargeSmsOrCallBalance": true,
"aiCurrentBalanceInUSDCents": 42,
"autoAiRechargeByBalanceInUSD": 42,
"autoRechargeAiWhenCurrentBalanceFallsInUSD": 42,
"enableAi": true,
"aiContext": null,
"aiDailyTokenLimit": 42,
"aiDailySpendLimitInUSD": 42,
"enableAutomaticIncidentInvestigation": true,
"enableAutomaticAlertInvestigation": true,
"enableAutomaticSecurityCaseTriage": true,
"enableSecurityRiskCases": true,
"securityRiskCaseThreshold": 42,
"enableAutomaticIncidentRemediation": true,
"enableAutomaticAlertRemediation": true,
"enableAutomaticPostmortemDraft": true,
"acknowledgeLinkedAlertsWhenIncidentAcknowledged": true,
"resolveLinkedAlertsWhenIncidentResolved": true,
"limitIncidentsToOneEpisode": true,
"limitAlertsToOneEpisode": true,
"defaultNetworkTopologyLayout": "Example Text",
"enableAiInsights": true,
"enableInsightFixTasks": true,
"enableAutomaticProfileRemediation": true,
"enableAutomaticTraceRemediation": true,
"enableAutomaticExceptionRemediation": true,
"enableAutomaticMetricRemediation": true,
"enableAutomaticLogRemediation": true,
"autoArchiveNonActionableExceptions": true,
"alertInvestigationMinimumSeverity": {
"_id": "bbbbbbbb-bbbb-bbbb-bbbb-bbbbbbbbbbbb"
},
"alertInvestigationMinimumSeverityId": "aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa",
"aiDailyAutonomousTokenLimit": 42,
"incidentAiDailyAutonomousTokenLimit": 42,
"alertAiDailyAutonomousTokenLimit": 42,
"aiDailyFixTaskLimit": 42,
"incidentAiDailyFixTaskLimit": 42,
"alertAiDailyFixTaskLimit": 42,
"alertInvestigationDedupeWindowMinutes": 42,
"incidentInvestigationMinimumSeverity": {
"_id": "bbbbbbbb-bbbb-bbbb-bbbb-bbbbbbbbbbbb"
},
"incidentInvestigationMinimumSeverityId": "aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa",
"incidentInvestigationDedupeWindowMinutes": 42,
"aiMaxConcurrentInvestigations": 42,
"incidentAiMaxConcurrentInvestigations": 42,
"alertAiMaxConcurrentInvestigations": 42,
"incidentAiInvestigationTimeLimitInMinutes": 42,
"alertAiInvestigationTimeLimitInMinutes": 42,
"enableAutoRechargeAiBalance": true,
"sendInvoicesByEmail": true,
"doNotAddGlobalProbesByDefaultOnNewMonitors": true,
"useGlobalRunners": true,
"gitHubAppInstallationId": "This is an example of longer text content that provides detailed information.",
"defaultMetricCardinalityBudget": 42,
"defaultTelemetryRetentionInDays": 42,
"telemetryRetentionConfig": {
"key": "value",
"nested": {
"data": 123
}
},
"defaultMetricDownsamplingRetentionDays": {
"key": "value",
"nested": {
"data": 123
}
},
"enableAuditLogs": true,
"isSessionReplayAllowed": true,
"auditLogsRetentionInDays": 42,
"storeSystemEventsInAuditLogs": true,
"recordAndTranscribeIncidentCalls": true
}
}Changes
No recorded changes to this operation across all 1 revision of this API.