---
title: "Deactivate certificates at the organization level.

You can atomically and idempotently deactivate up to 10 certificates at a time."
method: POST
path: "/organization/certificates/deactivate"
tags: ["Certificates"]
---

# Deactivate certificates at the organization level.

You can atomically and idempotently deactivate up to 10 certificates at a time.

`POST /organization/certificates/deactivate`

## Request body

- ToggleCertificatesRequest
  - `certificate_ids` string[], required

## Response `200`

Certificates deactivated successfully.

- OrganizationCertificateDeactivationResponse
  - `object` 'organization.certificate.deactivation', required — The organization certificate deactivation result type.
  - `data` OrganizationCertificate[], required
    - `object` 'organization.certificate', required — The object type, which is always `organization.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 organization level.

## Other responses

- `429` — The request was rejected because a rate limit was exceeded.

## Changes

- **2026-08-14** `6ac2618eefd7` — 1 info
  - added the non-success response with the status `429`
- **2026-05-13** `74cbcf73838f` — 2 breaking, 4 warning, 5 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
  - …7 more
- **2025-04-29** `6a6c681b1820` — 1 info
  - endpoint added

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

---

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