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": [
"jsmith@example.com"
]
},
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"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
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": [
"jsmith@example.com"
]
},
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"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"
}
}1 - 255expiration, renewal, issuance, revocation Show child attributes
1 - 10 elementsShow child attributes
Project ID
1000Default Response
Show child attributes
Was this page helpful?