Odoo lets you rotate your own API keys over RPC, without touching the web UI. This is useful for portal users and service integrations that need to roll credentials on a schedule.
The examples below use the modern /json/2 HTTP endpoint (Odoo 19+). The
older /xmlrpc/2 and /jsonrpc endpoints are deprecated and will be removed
in a future version, so new integrations should target /json/2.