Update PKI Subscriber
curl --request PATCH \
--url https://us.infisical.com/api/v1/pki/subscribers/{subscriberName} \
--header 'Content-Type: application/json' \
--data '{
"projectId": "<string>",
"caId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"commonName": "<string>",
"status": "active",
"subjectAlternativeNames": [
"<string>"
],
"ttl": "<string>",
"keyUsages": [
"digitalSignature"
],
"extendedKeyUsages": [
"clientAuth"
],
"enableAutoRenewal": true,
"autoRenewalPeriodInDays": 2
}'
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"projectId": "<string>",
"caId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"commonName": "<string>",
"status": "<string>",
"subjectAlternativeNames": [
"<string>"
],
"ttl": "<string>",
"keyUsages": [
"<string>"
],
"extendedKeyUsages": [
"<string>"
],
"lastOperationStatus": "<string>",
"lastOperationMessage": "<string>",
"lastOperationAt": "2023-11-07T05:31:56Z",
"enableAutoRenewal": false,
"autoRenewalPeriodInDays": 123,
"lastAutoRenewAt": "2023-11-07T05:31:56Z",
"supportsImmediateCertIssuance": true
}
The name of the PKI subscriber to update.
Default Response
The response is of type object
.
Was this page helpful?
curl --request PATCH \
--url https://us.infisical.com/api/v1/pki/subscribers/{subscriberName} \
--header 'Content-Type: application/json' \
--data '{
"projectId": "<string>",
"caId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"commonName": "<string>",
"status": "active",
"subjectAlternativeNames": [
"<string>"
],
"ttl": "<string>",
"keyUsages": [
"digitalSignature"
],
"extendedKeyUsages": [
"clientAuth"
],
"enableAutoRenewal": true,
"autoRenewalPeriodInDays": 2
}'
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"projectId": "<string>",
"caId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"commonName": "<string>",
"status": "<string>",
"subjectAlternativeNames": [
"<string>"
],
"ttl": "<string>",
"keyUsages": [
"<string>"
],
"extendedKeyUsages": [
"<string>"
],
"lastOperationStatus": "<string>",
"lastOperationMessage": "<string>",
"lastOperationAt": "2023-11-07T05:31:56Z",
"enableAutoRenewal": false,
"autoRenewalPeriodInDays": 123,
"lastAutoRenewAt": "2023-11-07T05:31:56Z",
"supportsImmediateCertIssuance": true
}