curl --request POST \
--url https://api.openai.com/v1/organization/certificates \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"name": "<string>",
"content": "<string>"
}'
{
"object": "certificate",
"id": "<string>",
"name": "<string>",
"created_at": 123,
"certificate_details": {
"valid_at": 123,
"expires_at": 123,
"content": "<string>"
},
"active": true
}
Upload a certificate to the organization. This does not automatically activate the certificate.
Organizations can upload up to 50 certificates.
curl --request POST \
--url https://api.openai.com/v1/organization/certificates \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"name": "<string>",
"content": "<string>"
}'
{
"object": "certificate",
"id": "<string>",
"name": "<string>",
"created_at": 123,
"certificate_details": {
"valid_at": 123,
"expires_at": 123,
"content": "<string>"
},
"active": true
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
The certificate upload payload.
The body is of type object
.
Certificate uploaded successfully.
Represents an individual certificate
uploaded to the organization.
Was this page helpful?