Skip to main content
POST
cURL

Body

application/json
name
string
required

The name of the certificate authority to create. A slug of lowercase letters, numbers and hyphens, unique in the organization.

Required string length: 1 - 64
status
enum<string>
required

Ignored for internal CAs, and the create response echoes the value sent; read the CA to see its stored status. A root CA created with configuration.notAfter starts active. A root CA created without it starts as pending-certificate until its CA certificate is generated, and an intermediate CA until its signed CA certificate is installed. Disable it with an update.

Available options:
active,
disabled,
pending-certificate
configuration
object
required

Settings for an internal certificate authority.

Response

Default Response

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