Skip to main content

Delete Schema

Endpoint: DELETE /api/schema/{name}

Deletes a schema. This operation deletes all versions of the specified schema.

Path parameters

ParameterDescriptionTypeRequired/ Optional
nameThe name of the schema to delete.stringRequired.

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.