亮色模式
Modify user
POST
https://api.openai.com/v1/organization/users/user_abcModifies a user's role in the organization.
Request
Header 参数
Authorization
string
必需
示例值:
Bearer $OPENAI_ADMIN_KEY
Content-Type
string
必需
示例值:
application/json
Body 参数application/json
role
string
必需
owner
or reader
示例
{
"role": "owner"
}
Request samples
返回响应
Success(200)
HTTP Code: 200
Content Type : JSONapplication/json
数据结构
object {0}
示例
未设置
最后修改时间: 10 天前