DELETE
/organization/projects/{project_id}/api_keys/{key_id}
curl \
--request DELETE 'https://api.openai.com/v1/organization/projects/{project_id}/api_keys/{key_id}' \
--header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
"object": "organization.project.api_key.deleted",
"id": "string",
"deleted": true
}
Response examples (400)
{
"error": {
"code": "string",
"message": "string",
"param": "string",
"type": "string"
}
}