cURL
curl --request PUT \ --url https://api.example.com/schemas/{id} \ --header 'Content-Type: application/json' \ --data ' { "id": "123e4567-e89b-12d3-a456-426614174000", "name": "My Schema", "schema": { "foo": "bar" } } '
{ "id": "123e4567-e89b-12d3-a456-426614174000", "name": "My Schema", "schema": { "foo": "bar" } }
The id of the schema
"123e4567-e89b-12d3-a456-426614174000"
The name of the schema
"My Schema"
The schema
{ "foo": "bar" }
Schema updated successfully