Mode
Updates the subject-level mode. This is allowed only if Schema Registry was started with mode.mutability=true.
put/mode/{subject}
Path parameters
subjectstring required
Name of the subject.
Query parameters
forceboolean
If true, forces the mode change even if schemas already exist. Useful in disaster recovery scenarios.
Headers
X-Registry-GroupIdstring
Group id in Apicurio Registry.
Request body
Example request
{
"mode": "IMPORT"
}Response
Returns the updated subject mode.
Example response
{
"mode": "READWRITE"
}