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 Params
Authorization
string
required
Example:
Bearer $OPENAI_ADMIN_KEY
Content-Type
string
required
Example:
application/json
Body Params application/json
name
string
required
The name of the service account being created.
Example
{
"name": "Production App"
}
Request samples
Responses
Success(200)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
object {0}
Example
{}
Last modified: 2 months ago