CertificateDcv
A certificate's domain control validation: resend it (update) or change its method (patch).
Operations
Every route this entity exposes. Each route links to its own reference on this page.
| Method | Route | SDK operation | Returns |
|---|---|---|---|
PATCH |
/certificate/issued-certs/{id}/dcv |
patch |
Created |
PUT |
/certificate/issued-certs/{id}/dcv |
update |
Accepted |
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:
updated, err := client.CertificateDcv(nil).Update(map[string]any{"certificate_id": "example", "sharing_id": "example"}, nil)
if err != nil {
panic(err)
}
fmt.Println(updated)
patched, err := client.CertificateDcv(nil).Patch(map[string]any{"certificate_id": "example", "sharing_id": "example"}, nil)
if err != nil {
panic(err)
}
fmt.Println(patched)
Lua
Construct client as shown in the Lua setup, then call the operations:
local updated, err = client:CertificateDcv():update({ certificate_id = "example", sharing_id = "example" })
local patched, err = client:CertificateDcv():patch({ certificate_id = "example", sharing_id = "example" })
PHP
Construct client as shown in the PHP setup, then call the operations:
$updated = $client->CertificateDcv()->update(["certificate_id" => "example", "sharing_id" => "example"]);
$patched = $client->CertificateDcv()->patch(["certificate_id" => "example", "sharing_id" => "example"]);
Python
Construct client as shown in the Python setup, then call the operations:
updated = client.CertificateDcv().update({"certificate_id": "example", "sharing_id": "example"})
patched = client.CertificateDcv().patch({"certificate_id": "example", "sharing_id": "example"})
Ruby
Construct client as shown in the Ruby setup, then call the operations:
updated = client.CertificateDcv.update({ "certificate_id" => "example", "sharing_id" => "example" })
patched = client.CertificateDcv.patch({ "certificate_id" => "example", "sharing_id" => "example" })
TypeScript
Construct client as shown in the TypeScript setup, then call the operations:
const updated = await client.CertificateDcv().update({ certificate_id: "example", sharing_id: "example" })
const patched = await client.CertificateDcv().patch({ certificate_id: "example", sharing_id: "example" })
Fields
| Field | Type | Required | Description |
|---|---|---|---|
message |
string |
Yes | Message |
method |
string |
Yes | Method |
patch
PATCH /certificate/issued-certs/{id}/dcv
Operation ID: patchCertificateIssuedCertsIdDcv.
Authentication: bearer token (bearerAuth).
Parameters
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
id |
path |
string |
Yes | |
sharing_id |
query |
string |
No |
Request body
application/json
| Property | Type | Required | Description |
|---|---|---|---|
method |
enum: email, dns, file, http, https |
Yes |
Responses
201: Created
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 |
update
PUT /certificate/issued-certs/{id}/dcv
Operation ID: putCertificateIssuedCertsIdDcv.
Authentication: bearer token (bearerAuth).
Parameters
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
id |
path |
string |
Yes | |
sharing_id |
query |
string |
No |
Responses
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 |