NAME

OpenAPI::Client::OpenAI::Path::organization-certificates-deactivate - Documentation for the /organization/certificates/deactivate path.

OPERATIONS

POST /organization/certificates/deactivate

deactivateOrganizationCertificates

$client->deactivate_organization_certificates({
    body => { ... },
});

Deactivate certificates at the organization level.

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

Responses

200 - Certificates deactivated successfully.

Content-Type: application/json

Example:

{
   "data" : [
      {
         "active" : false,
         "certificate_details" : {
            "expires_at" : 0,
            "valid_at" : 0
         },
         "created_at" : 0,
         "id" : "string",
         "name" : "string",
         "object" : "organization.certificate"
      }
   ],
   "object" : "organization.certificate.deactivation"
}

SCHEMAS

OrganizationCertificate

Properties:

  • active (boolean, required) - Whether the certificate is currently active at the organization level.

  • certificate_details (object, required)

  • created_at (integer, required) - The Unix timestamp (in seconds) of when the certificate was uploaded.

  • id (string, required) - The identifier, which can be referenced in API endpoints

  • name (anyOf, required) - The name of the certificate.

  • object (string, required) - The object type, which is always organization.certificate .

    Allowed values: organization.certificate

OrganizationCertificateDeactivationResponse

Properties:

  • data (array of OrganizationCertificate, required)

  • object (string, required) - The organization certificate deactivation result type.

    Allowed values: organization.certificate.deactivation

ToggleCertificatesRequest

Properties:

  • certificate_ids (array of string, required)

SEE ALSO

OpenAPI::Client::OpenAI::Path

COPYRIGHT AND LICENSE

Copyright (C) 2023-2026 by Nelson Ferraz

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.14.0 or, at your option, any later version of Perl 5 you may have available.