cURL
curl --request POST \ --url https://us.infisical.com/api/v1/cert-manager/alerts \ --header 'Content-Type: application/json' \ --data ' { "name": "<string>", "eventType": "expiration", "alertBefore": "<string>", "filters": [ { "field": "profile_name", "operator": "equals", "value": "<string>" } ], "channels": [ { "channelType": "email", "config": { "recipients": [ "[email protected]" ] }, "enabled": true } ], "projectId": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "description": "<string>", "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" } }
Create a new PKI alert
1 - 255
expiration
renewal
issuance
revocation
Show child attributes
1
Project ID
1000
Default Response
Was this page helpful?