Create project user
POST
https://api.openai.com/v1/organization/projects/proj_abc/users
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.openai.com/v1/organization/projects/proj_abc/users' \
--header 'Authorization: Bearer $OPENAI_ADMIN_KEY' \
--header 'Content-Type: application/json' \
--data-raw '{
"user_id": "user_abc",
"role": "member"
}'
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Β 2024-12-12 06:54:41