Delete Schema
Endpoint: DELETE /api/schema/{name}
Deletes a schema. This operation deletes all versions of the specified schema.
Path parameters
| Parameter | Description | Type | Required/ Optional |
|---|---|---|---|
| name | The name of the schema to delete. | string | Required. |
Response
Returns 200 OK, indicating that the schema has been deleted. Returns 500 if an invalid schema name is provided.
Examples
Delete a schema
Request
curl -X 'DELETE' \
'https://<YOUR-SERVER-URL>/api/schema/productSchema' \
-H 'accept: */*' \
-H 'X-Authorization: <TOKEN>'
Response
Returns 200 OK, indicating that the schema has been deleted.