---
title: "Modify certificate"
method: POST
path: "/organization/certificates/{certificate_id}"
tags: ["Certificates"]
---

# Modify certificate

`POST /organization/certificates/{certificate_id}`

Modify a certificate. Note that only the name can be modified.

## Path parameters

- `certificate_id` string, required

## Request body

- ModifyCertificateRequest
  - `name` string — The updated name for the certificate

## Response `200`

Certificate modified successfully.

- Certificate — Represents an individual `certificate` uploaded to the organization.
  - `object` 'certificate' | 'organization.certificate' | 'organization.project.certificate', required — The object type. - If creating, updating, or getting a specific certificate, the object type is `certificate`. - If listing, activating, or deactivating certificates for the organization, the object type is `organization.certificate`. - If listing, activating, or deactivating certificates for a project, the object type is `organization.project.certificate`.
  - `id` string, required — The identifier, which can be referenced in API endpoints
  - `name` string, nullable, required — The name of the certificate.
  - `created_at` integer, required — The Unix timestamp (in seconds) of when the certificate was uploaded.
  - `certificate_details` object, required
    - `valid_at` integer — The Unix timestamp (in seconds) of when the certificate becomes valid.
    - `expires_at` integer — The Unix timestamp (in seconds) of when the certificate expires.
    - `content` string — The content of the certificate in PEM format.
  - `active` boolean — Whether the certificate is currently active at the specified scope. Not returned when getting details for a specific certificate.

---

[API](https://skmtc.net/openai/apis/openai-api.md) · [All operations](https://skmtc.net/openai/apis/openai-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/openai/openai-api/versions/dcd35773a322/schema)
