POST /v2/certificates
To upload new SSL certificate which you have previously generated, send a POST
request to /v2/certificates
.
When uploading a user-generated certificate, the private_key
,
leaf_certificate
, and optionally the certificate_chain
attributes should
be provided. The type must be set to custom
.
When using Let's Encrypt to create a certificate, the dns_names
attribute
must be provided, and the type must be set to lets_encrypt
.
Servers
- https://api.digitalocean.com
Request headers
Name | Type | Required | Description |
---|---|---|---|
Content-Type |
String | Yes |
The media type of the request body.
Default value: "application/json" |
How to start integrating
- Add HTTP Task to your workflow definition.
- Search for the API you want to integrate with and click on the name.
- This loads the API reference documentation and prepares the Http request settings.
- Click Test request to test run your request to the API and see the API's response.