v1

latestOpenAPI 3.0.2Apache 2.02026-07-174217115.5 KB
Mode

Updates the global mode for Schema Registry. This operation is allowed only if Schema Registry was started with mode.mutability=true.

put/mode

Query parameters

forceboolean

If true, allows the mode change even if schemas are already registered. Useful in disaster recovery scenarios.

Request body

modestring required

The new global mode to set.

Example request

{
  "mode": "IMPORT"
}

Response

Returns the updated global mode.

mode'READWRITE' | 'READONLY' | 'IMPORT' required

Current operating mode of the registry.

Example response

{
  "mode": "READWRITE"
}