Modify certificate
POST/organization/certificates/{certificate_id}
Modify a certificate. Note that only the name can be modified.
Path Parameters
certificate_id: string
Body ParametersJSON
name: string
The updated name for the certificate
Returns
id: string
The identifier, which can be referenced in API endpoints
created_at: number
The Unix timestamp (in seconds) of when the certificate was uploaded.
name: string
The name of the certificate.
active: optional boolean
Whether the certificate is currently active at the specified scope. Not returned when getting details for a specific certificate.
Modify certificate
curl https://api.openai.com/v1/organization/certificates/$CERTIFICATE_ID \
-H 'Content-Type: application/json' \
-H "Authorization: Bearer $OPENAI_API_KEY" \
-d '{
"name": "name"
}'{
"id": "id",
"certificate_details": {
"content": "content",
"expires_at": 0,
"valid_at": 0
},
"created_at": 0,
"name": "name",
"object": "certificate",
"active": true
}Returns Examples
{
"id": "id",
"certificate_details": {
"content": "content",
"expires_at": 0,
"valid_at": 0
},
"created_at": 0,
"name": "name",
"object": "certificate",
"active": true
}