Loading TOC...

pki:delete-authority

pki:delete-authority(
   $name as xs:string
) as xs:string)

Summary

This function deletes a certificate authority that was created using pki:create-authority.

Parameters
$name The name of the certificate authority to be deleted.

Example

xquery version "1.0-ml"; 
 
import module namespace pki = "http://marklogic.com/xdmp/pki" 
      at "/MarkLogic/pki.xqy";

pki:delete-authority("acme-ca")
    

Stack Overflow iconStack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.