Skip to main content
POST
/
certificates
/
csrs
/
{id}
/
import
Import certificate for a certificate signing request
curl --request POST \
  --url https://test.didxtech.com/me-creds/api/certificates/csrs/{id}/import \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "certificate": "<string>",
  "parentCertificates": [
    "<string>"
  ]
}
'
{
  "data": {
    "id": "<string>",
    "createdAt": "<string>",
    "updatedAt": "<string>",
    "certificateSigningRequest": "<string>",
    "subjectKeyIdentifier": "<string>",
    "type": "verifierSignRequest",
    "status": "expired",
    "keyType": "P-256",
    "certificateId": "<string>",
    "expiresAt": "<string>"
  },
  "links": {
    "self": "<string>",
    "first": "<string>",
    "last": "<string>",
    "prev": "<string>",
    "next": "<string>",
    "related": "<string>"
  },
  "meta": {},
  "errors": [
    {
      "detail": "<string>",
      "id": "<string>",
      "status": "<string>",
      "code": "<string>",
      "title": "<string>",
      "source": {
        "pointer": "<string>",
        "parameter": "<string>"
      },
      "meta": {}
    }
  ]
}

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required

Body

application/json
certificate
string
required

PEM-encoded certificate

parentCertificates
string[]

PEM-encoded intermediate certificates, ordered from leaf-adjacent to root-adjacent. Root certificates in the list are automatically ignored by Paradym.

Response

Certificate imported

data
object
required
meta
object
errors
object[]