Create project service account
POST
https://api.openai.com/v1/organization/projects/proj_abc/service_accounts
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.openai.com/v1/organization/projects/proj_abc/service_accounts' \
--header 'Authorization: Bearer $OPENAI_ADMIN_KEY' \
--header 'Content-Type: application/json' \
--data-raw '{
"name": "Production App"
}'
Response Response Example
{}
Request
Header Params
Authorization
stringΒ
required
Example:
Bearer $OPENAI_ADMIN_KEY
Content-Type
stringΒ
required
Example:
application/json
Body Params application/json
Responses
Modified atΒ 2025-01-03 10:35:56