Home / Servers / OpenAI API / update_organization_data_retention

Update organization data retention

An MCP tool from the OpenAI API server, hosted on mcp.hjlabs.in.

Update organization data retention Updates organization data retention controls. [POST /organization/data_retention]

Name on the gateway: openai_api__update_organization_data_retention · may change things.

Parameters

NameTypeDescription
retention_type requiredzero_data_retention | modified_abuse_monitoring | enhanced_zero_data_retention | enhanced_modified_abuse_monitoringThe desired organization data retention type.

How to call it

Through the Smart Gateway, any client can run it by name with call_tool, or let the gateway find it with search_tools:

call_tool arguments
{
  "name": "openai_api__update_organization_data_retention",
  "arguments": {
    "retention_type": "…"
  }
}

Or connect the OpenAI API server directly, which lists 371 tools including this one:

Run in your terminal
claude mcp add --transport http hj-openai-api https://mcp.hjlabs.in/mcp/openai-api \
  --header "Authorization: Bearer YOUR_API_KEY"

Try asking

Use the update organization data retention tool with retention_type set to ….

More from OpenAI API