# Update a metadata schema

> Changes the schema, the selector, or both. resource_type is fixed at creation: it decides the selector's spelling and which write path reads the row, so…

Changes the schema, the selector, or both. `resource_type` is fixed at creation: it decides the selector's spelling and which write path reads the row, so changing it would silently repoint the declaration at a different door — delete it and declare again instead.

  Request

<ParamsDetails
  {...require("./update-metadata-schema.ParamsDetails.json")}
>

<RequestSchema
  {...require("./update-metadata-schema.RequestSchema.json")}
>

<StatusCodes
  {...require("./update-metadata-schema.StatusCodes.json")}
>
