Skip to main content

Delete Schema Version

Endpoint: DELETE /api/schema/{name}/{version}

Deletes a specific version of the schema from the Conductor server by its name.

Path parameters

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

Response

Returns 200 OK, indicating that the specific schema version has been deleted. Returns 500 if an invalid path parameter is provided.

Examples

Delete a specific version of a schema

Request

curl -X 'DELETE' \
'https://<YOUR-SERVER-URL>/api/schema/itemSchema/2' \
-H 'accept: */*' \
-H 'X-Authorization: <TOKEN>'

Response

Returns 200 OK, indicating that the specific version of the schema has been deleted.