亮色模式
Create project user
POST
https://api.openai.com/v1/organization/projects/proj_abc/usersAdds a user to the project. Users must already be members of the organization to be added to a project.
Request
Header 参数
Authorization
string
必需
示例值:
Bearer $OPENAI_ADMIN_KEY
Content-Type
string
必需
示例值:
application/json
Body 参数application/json
user_id
string
必需
The ID of the user.
role
string
必需
owner
or member
示例
{
"user_id": "user_abc",
"role": "member"
}
Request samples
返回响应
Success(200)
HTTP Code: 200
Content Type : JSONapplication/json
数据结构
object {0}
示例
未设置
最后修改时间: 10 天前