Skip to main content
PATCH
/
api
/
v1
/
cert-manager
/
alerts
/
{alertId}
cURL
curl --request PATCH \
  --url https://us.infisical.com/api/v1/cert-manager/alerts/{alertId} \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "description": "<string>",
  "eventType": "expiration",
  "alertBefore": "<string>",
  "filters": [
    {
      "field": "profile_name",
      "operator": "equals",
      "value": "<string>"
    }
  ],
  "enabled": true,
  "channels": [
    {
      "channelType": "email",
      "config": {
        "recipients": [
          "[email protected]"
        ]
      },
      "enabled": true
    }
  ]
}
'
{
  "alert": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "name": "<string>",
    "description": "<string>",
    "eventType": "expiration",
    "alertBefore": "<string>",
    "filters": [
      {
        "field": "profile_name",
        "operator": "equals",
        "value": "<string>"
      }
    ],
    "enabled": true,
    "projectId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "channels": [
      {
        "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
        "channelType": "email",
        "config": {},
        "enabled": true,
        "createdAt": "2023-11-07T05:31:56Z",
        "updatedAt": "2023-11-07T05:31:56Z"
      }
    ],
    "createdAt": "2023-11-07T05:31:56Z",
    "updatedAt": "2023-11-07T05:31:56Z"
  }
}

Path Parameters

alertId
string<uuid>
required

Alert ID

Body

application/json
name
string
Required string length: 1 - 255
description
string
Maximum string length: 1000
eventType
enum<string>
Available options:
expiration,
renewal,
issuance,
revocation
alertBefore
string
filters
object[]
enabled
boolean
default:true
channels
object[]
Minimum array length: 1

Response

Default Response

alert
object
required