---
title: "Update a certificate by ID"
method: PUT
path: "/gateway_manager/v1/certificates/{id}"
tags: ["Gateway Manager"]
---

# Update a certificate by ID

`PUT /gateway_manager/v1/certificates/{id}`

## Request

- Base URL: `https://example.itential.io`
- URL: `https://example.itential.io/gateway_manager/v1/certificates/{id}`
- Auth: none declared

Updates a certificate in the certificate store.

## Path parameters

- `id` string, required

## Request body

- object
  - `alias` string

## Response `200`

Information about the certificate that was just updated

- GatewayManagerUpdateCertificateByIdResponse200
  - `_id` string
  - `certificate` string: PEM-encoded certificate string
  - `alias` string
  - `contract_id` string
  - `host` string
  - `issuer` string
  - `self_signed` boolean
  - `type` 'Host' | 'Intermediate' | 'Root'
  - `validity` GatewayManagerV1CertificatesIdPutResponsesContentApplicationJsonSchemaValidity
    - `notBefore` string, date-time, required
    - `notAfter` string, date-time, required
  - `updatedAt` string, date-time

## Other responses

- `500`: Error response from API

## Changes

- **2026-10-31** `2095cc90e583`: 2 info
  - api tag `Gateway Manager` added
  - api tag `gatewayManager` removed

[Operation history](https://skmtc.dev/itential/apis/itential-2/changes/gateway_manager/v1/certificates/:id/put.md)

---

[API](https://skmtc.dev/itential/apis/itential-2.md) - [All operations](https://skmtc.dev/itential/apis/itential-2/llms.txt) - [OpenAPI document](https://skmtc.dev/itential/apis/itential-2/revisions/2095cc90e583?raw)
