Update Mcp Api Key

Rotate the API key for an existing api_key connection and re-validate.

Also accepts an optional header_name so users can switch a connection between the default Authorization: Bearer flow and a custom header (or vice versa) at the same time as rotating the key — no need to disconnect + re-add.

post/api/py/mcp/update-key

Request body

connection_idstring required
api_keystring nullable
header_namestring nullable

Response

Successful Response

{"stackTrail":"paths:/api/py/mcp/update-key:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}

Changes

No recorded changes to this endpoint across all 1 revision of this API.