Skip to main content
Server Actions

Run Certbot on a server

Asynchronous Request

Runs Certbot on the server to obtain or renew Let's Encrypt SSL certificates. Uses Server Identity domains (main domain + aliases) by default. Only available for servers with a webserver (Nginx or Apache).

POST
/servers/{serverSlug}/actions/run-certbot
Authorizationstringheaderrequired

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

serverSlugstringrequired

Slug of the server

Body

application/json

Optional overrides for domains, email, and forceSSL

domainsstring[]

Override domains. If omitted, uses Server Identity (main domain + aliases).

emailstring

ACME/Let's Encrypt contact email. If omitted, uses team lead's or user email.

forceSSLboolean

Enable HTTP-to-HTTPS redirect. Defaults to true.

Certbot run initiated.

X-Callback-IDstringheader

CallbackID