cURL
curl --request POST \ --url https://us.infisical.com/api/v1/pki/collections/{collectionId}/items \ --header 'Content-Type: application/json' \ --data ' { "type": "certificate", "itemId": "<string>" } '
{ "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "createdAt": "2023-11-07T05:31:56Z", "updatedAt": "2023-11-07T05:31:56Z", "pkiCollectionId": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "type": "certificate", "itemId": "<string>" }
Add item to PKI collection
The ID of the PKI collection to add the item to.
The type of the PKI collection item to add.
certificate
ca
The resource ID of the PKI collection item to add.
Default Response
Was this page helpful?