API

CertificateRenewal

Renew an issued certificate.

Operations

Every route this entity exposes. Each route links to its own reference on this page.

Method Route SDK operation Returns
POST /certificate/issued-certs/{id} create OK

Examples

One example per SDK, generated from the API model. The argument names are the parameters and fields of this entity, and the values are placeholders. The examples are not compiled or executed.

Golang

Construct client as shown in the Golang setup, then call the operations:

created, err := client.CertificateRenewal(nil).Create(map[string]any{"certificate_id": "example"}, nil)
if err != nil {
    panic(err)
}
fmt.Println(created)

Lua

Construct client as shown in the Lua setup, then call the operations:

local created, err = client:CertificateRenewal():create({ certificate_id = "example" })

PHP

Construct client as shown in the PHP setup, then call the operations:

$created = $client->CertificateRenewal()->create(["certificate_id" => "example"]);

Python

Construct client as shown in the Python setup, then call the operations:

created = client.CertificateRenewal().create({ "certificate_id": "example" })

Ruby

Construct client as shown in the Ruby setup, then call the operations:

created = client.CertificateRenewal.create({ "certificate_id" => "example" })

TypeScript

Construct client as shown in the TypeScript setup, then call the operations:

const created = await client.CertificateRenewal().create({ certificate_id: "example" })

Fields

Field Type Required Description
csr string No Csr
dcv_method string No Dcv Method
duration integer No Duration
errors array No Errors
status string Yes Status

create

POST /certificate/issued-certs/{id}

Operation ID: postCertificateIssuedCertsId.

Authentication: bearer token (bearerAuth).

Parameters

Parameter In Type Required Description
id path string Yes
sharing_id query string No
Dry-Run header integer No

Request body

application/json

Property Type Required Description
csr string No
dcv_method string No
duration integer No

Responses

200: OK

application/json

Property Type Required Description
errors array of object No
errors[].description string Yes
errors[].location enum: header, path, querystring, body Yes
errors[].name string Yes
status enum: success, error Yes
202: Accepted

application/json

Property Type Required Description
message string Yes
401: Unauthorized

application/json

Property Type Required Description
cause string Yes
code integer Yes
message string Yes
object string Yes
403: Forbidden

application/json

Property Type Required Description
cause string Yes
code integer Yes
message string Yes
object string Yes