---
title: "Renew a TLS certificate"
method: POST
path: "/certificates/{id}/renew"
tags: ["Certificates"]
---

# Renew a TLS certificate

`POST /certificates/{id}/renew`

Renew an eligible Let's Encrypt or Sylve.app Managed TLS certificate

## Path parameters

- `id` integer, required

## Response `200`

Renewed

- GithubComAlchemillahqSylveInternalAPIResponseGithubComAlchemillahqSylveInternalServicesCertificatesCertificateView
  - `data` GithubComAlchemillahqSylveInternalServicesCertificatesCertificateView
    - `active` boolean
    - `domain` string
    - `dynamicDnsEntryId` integer
    - `fingerprint` string
    - `id` integer
    - `issuanceError` string
    - `issuanceOperation` 'initial' | 'renewal'
    - `issuanceRetryAt` string
    - `issuanceStatus` string
    - `name` string
    - `notAfter` string
    - `notBefore` string
    - `pending` boolean
    - `ready` boolean
    - `renewable` boolean
    - `staging` boolean
    - `type` 'imported' | 'self-signed' | 'lets-encrypt' | 'sylve-managed' | 'system-default'
    - `updatedAt` string
  - `error` string
  - `message` string
  - `status` string

## Other responses

- `202` — Accepted
- `400` — Bad Request
- `404` — Not Found
- `409` — Conflict
- `500` — Internal Server Error
- `502` — Bad Gateway

---

[API](https://skmtc.net/alchemillahq/apis/sylve-api.md) · [All operations](https://skmtc.net/alchemillahq/apis/sylve-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/alchemillahq/sylve-api/revisions/7a7bea85004e/schema)
