Modify user
POST/organization/users/{user_id}
Modifies a user's role in the organization.
Path Parameters
user_id: string
Body ParametersJSON
Returns
Modify user
curl https://api.openai.com/v1/organization/users/$USER_ID \
-H 'Content-Type: application/json' \
-H "Authorization: Bearer $OPENAI_API_KEY" \
-d '{
"role": "owner"
}'{
"id": "id",
"added_at": 0,
"email": "email",
"name": "name",
"object": "organization.user",
"role": "owner"
}Returns Examples
{
"id": "id",
"added_at": 0,
"email": "email",
"name": "name",
"object": "organization.user",
"role": "owner"
}