亮色模式
Create project service account
POST
https://api.openai.com/v1/organization/projects/proj_abc/service_accountsCreates a new service account in the project. This also returns an unredacted API key for the service account.
Request
Header 参数
Authorization
string
必需
示例值:
Bearer $OPENAI_ADMIN_KEY
Content-Type
string
必需
示例值:
application/json
Body 参数application/json
name
string
必需
The name of the service account being created.
示例
{
"name": "Production App"
}
Request samples
返回响应
Success(200)
HTTP Code: 200
Content Type : JSONapplication/json
数据结构
object {0}
示例
未设置
最后修改时间: 10 天前