POST
/organization/users/{user_id}
curl \
--request POST 'https://api.openai.com/v1/organization/users/{user_id}' \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "Content-Type: application/json" \
--data '{"role":"owner"}'
Request examples
{
"role": "owner"
}
Response examples (200)
{
"object": "organization.user",
"id": "string",
"name": "string",
"email": "string",
"role": "owner",
"added_at": 42
}