Version 2.1.1792967583 · latest Download OpenAPI Markdown

ACME accounts

CA accounts used for automatic issuance (Let's Encrypt, ZeroSSL). Registered with the CA on first issuance.

acme-accountsCertificatesAuthentication: User (some parameters admin only)5 endpoints

List ACME accounts

GET/api/v2/acme-accounts
Authentication: User (some parameters admin only)

Query parameters

FieldTypeRequiredDescription
pageinteger— Page number, starting from 1
Default 1
page_sizeinteger— Items per page
Default 20
sortstring— Sort fields, comma-separated; prefix `-` for descending, e.g. `-created_at,id`
tenant_idinteger— Admin only: filter by tenant. Ignored for tenant credentials, which only see their own tenant's data
castring— Only list accounts of this CA.
Values ["lets","zerossl"]

Create ACME account

POST/api/v2/acme-accounts
Authentication: User (some parameters admin only)

Query parameters

FieldTypeRequiredDescription
tenant_idinteger— Admin only: filter by tenant. Ignored for tenant credentials, which only see their own tenant's data

Request body application/json

FieldTypeRequiredDescription
api_keystring— Mask of the ZeroSSL REST API key (`****abcd`); empty = not set. The key is stored encrypted and never returned in plaintext.
castringRequired CA that issues certificates: lets = Let's Encrypt; zerossl = ZeroSSL.
Values ["lets","zerossl"]
directorystring— ACME directory URL; empty = the CA's URL in the controller's acme.directories (the production URL by default).
eab_hmacstring— Masked (last 4 chars shown as `****abcd` when 16+ chars, otherwise `********`); plaintext is never returned.
eab_kidstring— EAB key ID (used by ZeroSSL).
emailstring— Email
enabledboolean— Whether enabled
namestringRequired Name
recheckboolean— When true, re-check the stored API key; on success the account becomes usable again and certificates waiting on it are retried immediately.

Get ACME account

GET/api/v2/acme-accounts/{id}
Authentication: User (some parameters admin only)

Update ACME account

PUT/api/v2/acme-accounts/{id}
Authentication: User (some parameters admin only)

Request body application/json

FieldTypeRequiredDescription
api_keystring— Mask of the ZeroSSL REST API key (`****abcd`); empty = not set. The key is stored encrypted and never returned in plaintext.
castringRequired CA that issues certificates: lets = Let's Encrypt; zerossl = ZeroSSL.
Values ["lets","zerossl"]
directorystring— ACME directory URL; empty = the CA's URL in the controller's acme.directories (the production URL by default).
eab_hmacstring— Masked (last 4 chars shown as `****abcd` when 16+ chars, otherwise `********`); plaintext is never returned.
eab_kidstring— EAB key ID (used by ZeroSSL).
emailstring— Email
enabledboolean— Whether enabled
namestringRequired Name
recheckboolean— When true, re-check the stored API key; on success the account becomes usable again and certificates waiting on it are retried immediately.

Delete ACME account

DELETE/api/v2/acme-accounts/{id}
Authentication: User (some parameters admin only)

ACME accounts object

FieldTypeRequiredDescription
api_checked_atstring— Time the API key was last checked.
read-only
api_errorstring— Last account-level error from checking the API key or issuing with it.
read-only
api_keystring— Mask of the ZeroSSL REST API key (`****abcd`); empty = not set. The key is stored encrypted and never returned in plaintext.
read-only
api_statestring— API key state: none = not set; ok = usable; blocked = account-level error (quota reached, unpaid, key rejected; retried after 6 hours or after a successful recheck); error = the key cannot be decrypted and must be re-entered.
read-onlyValues ["none","ok","blocked","error"]
castring— CA that issues certificates: lets = Let's Encrypt; zerossl = ZeroSSL.
Values ["lets","zerossl"]
created_atstring— Created at
read-only
directorystring— ACME directory URL; empty = the CA's URL in the controller's acme.directories (the production URL by default).
eab_hmacstring— Masked (last 4 chars shown as `****abcd` when 16+ chars, otherwise `********`); plaintext is never returned.
eab_kidstring— EAB key ID (used by ZeroSSL).
emailstring— Email
enabledboolean— Whether enabled
idinteger— Record ID
read-only
last_errorstring— Last error
read-only
namestring— Name
recheckboolean— When true, re-check the stored API key; on success the account becomes usable again and certificates waiting on it are retried immediately.
statusstring— new = not registered yet; registered = registered with the CA; error = registration failed (see last_error).
read-onlyValues ["new","registered","error"]
tenant_idinteger— Owning tenant; null = platform account.
read-only
updated_atstring— Updated at
read-only