Skip to main content
PATCH

Authorizations

apikey
string
header
required

Headers

X-Enkrypt-MCP-Gateway
string
required

Gateway saved_name

Maximum string length: 32
Example:

"my-dev-gateway"

X-Enkrypt-MCP-Gateway-Version
string
default:v1

Gateway version (defaults to "v1")

Example:

"v1"

Body

application/json

Partial-update payload. servers_config is deep-merged onto the persisted config — keys you don't send are left untouched. See the /mcp-gateway/modify-gateway operation description for full semantics (null means delete; the servers array is keyed by saved_name + server_version with _delete: true for removal; guardrails policies replace as a unit while additional_config deep-merges).

servers_config
object

Partial servers_config. Keys not present are left untouched. null at any level deletes that key. The servers array is upserted by (saved_name, server_version); send _delete: true on an entry to remove it. Per-server entries in this PATCH context additionally accept _delete: true (boolean), which is not part of the persisted shape.

is_active
boolean

Toggle the gateway's active state.

is_sample
boolean

Mark this gateway as a sample.

Response

Gateway updated successfully

message
string

Response message

data
object