Sample - OpenAI API
POST/organization/projects/{project_id}/certificates/deactivate

Deactivate project certificates

Triggers deactivation of certificates for a project. Provide between one and ten certificate IDs in certificate_ids; deactivation is atomic and idempotent. The response contains the resulting project certificate records.

  • RetriesRetries up to 2×, 500ms backoff, 30s timeout.

1 parameter · 1 body field
project_idstringrequired
The ID of the project whose certificates you want to deactivate.

The certificate deactivation payload containing the certificates to deactivate.

certificate_idsarray<string>required
The IDs of the certificates to deactivate. The array must contain between 1 and 10 IDs.

2 status codes
200Returns the project certificate deactivation result and the deactivated certificate objects.
objectstringrequired
The project certificate deactivation result type.
Allowed:organization.project.certificate.deactivation
dataarray<object>required
429Returned when the request was rejected because a rate limit was exceeded.
errorobjectrequired

Error handling

A 429 is returned when the request exceeds the rate limit. certificate_ids must contain at least one and no more than ten certificate IDs. project_id must identify the project whose certificates you want to deactivate.