---
title: "Activate certificates at the project level.

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

# Activate certificates at the project level.

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

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

## Path parameters

- `project_id` string, required

## Request body

- ToggleCertificatesRequest
  - `certificate_ids` string[], required

## Response `200`

Certificates activated successfully.

- OrganizationProjectCertificateActivationResponse
  - `object` 'organization.project.certificate.activation', required — The project certificate activation 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.

---

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