## Activate certificates for organization

`admin.organization.certificates.activate(**kwargs) -> Page<CertificateActivateResponse>`

**post** `/organization/certificates/activate`

Activate certificates at the organization level.

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

### Parameters

- `certificate_ids: Array[String]`

### Returns

- `class CertificateActivateResponse`

  Represents an individual certificate configured at the organization level.

  - `id: String`

    The identifier, which can be referenced in API endpoints

  - `active: bool`

    Whether the certificate is currently active at the organization level.

  - `certificate_details: CertificateDetails{ expires_at, valid_at}`

    - `expires_at: Integer`

      The Unix timestamp (in seconds) of when the certificate expires.

    - `valid_at: Integer`

      The Unix timestamp (in seconds) of when the certificate becomes valid.

  - `created_at: Integer`

    The Unix timestamp (in seconds) of when the certificate was uploaded.

  - `name: String`

    The name of the certificate.

  - `object: :"organization.certificate"`

    The object type, which is always `organization.certificate`.

    - `:"organization.certificate"`

### Example

```ruby
require "openai"

openai = OpenAI::Client.new(admin_api_key: "My Admin API Key")

page = openai.admin.organization.certificates.activate(certificate_ids: ["cert_abc"])

puts(page)
```

#### Response

```json
{
  "data": [
    {
      "id": "id",
      "active": true,
      "certificate_details": {
        "expires_at": 0,
        "valid_at": 0
      },
      "created_at": 0,
      "name": "name",
      "object": "organization.certificate"
    }
  ],
  "object": "organization.certificate.activation"
}
```
