---
title: "Deactivate certificates for project"
method: POST
path: "/organization/projects/{project_id}/certificates/deactivate"
tags: ["Certificates"]
---

# Deactivate certificates for project

`POST /organization/projects/{project_id}/certificates/deactivate`

Deactivate certificates at the project level. You can atomically and 
idempotently deactivate up to 10 certificates at a time.

## Path parameters

- `project_id` string, required

## Request body

- ToggleCertificatesRequest
  - `certificate_ids` string[], required

## Response `200`

Certificates deactivated successfully.

- OrganizationProjectCertificateDeactivationResponse
  - `object` 'organization.project.certificate.deactivation', required — The project certificate deactivation result type.
  - `data` OrganizationProjectCertificate[], required
    - `object` 'organization.project.certificate', required — The object type, which is always `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.
    - `active` boolean, required — Whether the certificate is currently active at the project level.

## Changes

- **2026-05-01** `72f65c459c35` — 2 breaking, 4 warning, 4 info
  - response property `data/items/name` list-of-types was widened by adding types `null` to media type `application/json` of response `200`
  - removed the required property `has_more` from the response with the `200` status
  - removed the optional property `data/items/certificate_details/content` from the response with the `200` status
  - removed the optional property `first_id` from the response with the `200` status
  - …6 more
- **2026-04-28** `fa32d6e7d961` — 1 info
  - the endpoint scheme security `AdminApiKeyAuth` was added to the API

[Change history](https://skmtc.dev/openai/apis/openai-api/changes/organization/projects/:project_id/certificates/deactivate/post.md)

---

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