Skip to main content
POST
Create a certificate.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

qualified
enum<boolean>

Flag that indicates whether the certificate should be qualified sign.

Available options:
true,
false
networkId
string
required

Network identifier where the trustpoint will be registered.

Example:

10004

Body

application/json

Data needed for the creation of a certificate.

name
string
required

Name of the certificate.

Example:

"Certificate"

description
string
required

Description of the certificate.

Example:

"Certificate description"

content
object
required

Content to certify.

Example:
public
boolean

Flag that indicates whether the certificate is public or not.

Example:

true

expires
number

Timestamp of the expiration date of the certificate.

Example:

1234567890

certificatePin
string

PIN of the certificate.

Example:

"1234"

externalId
string

Custom identifier of the certificate.

Example:

"extcertid"

Response

Successful certificate creation.

statusCode
integer

Request status code.

Example:

201

message
string

Message returned by the request.

Example:

"Certificate created"

data
object

Data returned by the request.