OpenAIOpenAI API
DELETE/organization/users/{user_id}/roles/{role_id}
Manage unassign User Role.
Contract-preserving DELETE Endpoint for unassign User Role 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
unassignUserRole- Server
https://api.openai.com/v1- Authentication
- ApiKeyAuth, AdminApiKeyAuth
Request parameters
user_id
pathstringrequired
user id value in the OpenAI API contract.
role_id
pathstringrequired
role id value in the OpenAI API contract.
Responses
200
DeletedRoleAssignmentResourceapplication/json
Successful supplier response.
Properties: deletedobject
429
ErrorResponseapplication/json
Supplier response with HTTP status 429.
Properties: error
{
"deleted": false
}