PATCH
/
api
/
v1
/
pki
/
ca
/
internal
/
{caName}
cURL
curl --request PATCH \
  --url https://us.infisical.com/api/v1/pki/ca/internal/{caName} \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "projectId": "<string>",
  "enableDirectIssuance": true,
  "status": "active"
}'
{
  "projectId": "<string>",
  "enableDirectIssuance": true,
  "name": "<string>",
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "status": "active",
  "type": "internal",
  "configuration": {
    "type": "root",
    "friendlyName": "<string>",
    "commonName": "<string>",
    "organization": "<string>",
    "ou": "<string>",
    "country": "<string>",
    "province": "<string>",
    "locality": "<string>",
    "notBefore": "<string>",
    "notAfter": "<string>",
    "maxPathLength": 0,
    "keyAlgorithm": "RSA_2048",
    "dn": "<string>",
    "parentCaId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "serialNumber": "<string>",
    "activeCaCertId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  }
}

Path Parameters

caName
string
required

Body

application/json
projectId
string
required

The ID of the project to update the Certificate Authority in.

Minimum length: 1
name
string

The updated name of the Internal Certificate Authority. Must be slug-friendly.

Required string length: 1 - 64
enableDirectIssuance
boolean

Whether or not to enable direct issuance of certificates for the Internal Certificate Authority.

status
enum<string>

The updated status of the Internal Certificate Authority.

Available options:
active,
disabled,
pending-certificate

Response

Default Response

projectId
string
required
name
string
required
id
string<uuid>
required
status
enum<string>
required
Available options:
active,
disabled,
pending-certificate
type
enum<string>
required
Available options:
internal
configuration
object
required
enableDirectIssuance
boolean
default:true