OpenAIOpenAI API
POST/organization/users/{user_id}
Manage modify User.
Contract-preserving POST Endpoint for modify User in the OpenAI API. Model and resource-specific values are supplied by the caller at runtime.
All 288 OpenAI Platform REST endpoints from a fixed MIT-licensed official revision, including typed SSE streaming and Realtime call management. Hub provides documentation and an independent SDK/CLI, but never proxies model, account, or usage data; callers connect directly with local API keys.
Request
- operationId
modifyUser- Server
https://api.openai.com/v1- Authentication
- ApiKeyAuth, AdminApiKeyAuth
Request parameters
user_id
pathstringrequired
user id value in the OpenAI API contract.
Request body
UserRoleUpdateRequestrequired
Content-Type: application/json
Properties: developer_personarolerole_idtechnical_level
Responses
200
Userapplication/json
Successful supplier response.
Properties: added_atapi_key_last_used_atcreateddeveloper_personaemailidis_defaultis_scale_tier_authorized_purchaseris_scim_managedis_service_accountnameobjectprojectsroletechnical_leveluser
{
"added_at": 0,
"created": 0,
"is_default": false
}