Set / Update stream schema

"Set or update a stream's schema.

The schema of a stream defines its primary key(s) and sort/sequence field. streams are append-only by default. Alternatively, if a primary key is specified,
will replace records with the same primary key value. will sort records by sequence field
value and will discard all but the last record appended for each given primary key value.

The updateMethod parameter specifies how should handle existing records when schema is
updated. Currently, the only updateMethod supported is TRUNCATED. will discard all
records when the schema is updated."

Click Try It! to start a request and see the response here!