OpenAIOpenAI API
POST/organization/projects/{project_id}/hosted_tool_permissions
Manage update Project Hosted Tool Permissions.
Contract-preserving POST Endpoint for update Project Hosted Tool Permissions 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
updateProjectHostedToolPermissions- Server
https://api.openai.com/v1- Authentication
- ApiKeyAuth, AdminApiKeyAuth
Request parameters
project_id
pathstringrequired
project id value in the OpenAI API contract.
Request body
ProjectHostedToolPermissionsUpdateRequestrequired
Content-Type: application/json
Properties: code_interpreterfile_searchimage_generationmcpweb_search
Responses
200
ProjectHostedToolPermissionsapplication/json
Successful supplier response.
Properties: code_interpreterfile_searchimage_generationmcpweb_search
{
"code_interpreter": {
"enabled": false
},
"file_search": {
"enabled": false
},
"image_generation": {
"enabled": false
},
"mcp": {
"enabled": false
},
"web_search": {
"enabled": false
}
}