Delete a text splitter
DELETE/text-splitters/:text_splitter_id
Deletes a text splitter. A text splitter that is the default text splitter of a pipeline cannot be deleted: the request returns HTTP 409 until each such pipeline uses another default text splitter or is deleted.
Permissions. Write on the text splitter.
Request
Responses
- 204
- 401
- 403
- 404
- 409
The text splitter was deleted. The response has no body.
The authentication headers are missing or invalid, or the API key is inactive or expired. Errors lists the messages.
The key lacks write permission on the text splitter (Unauthorized: access level AccessLevel(WRITE) required for Text Splitter with id Some(<id>)).
No text splitter with this identifier exists (Text Splitter with id <id> not found).
A pipeline uses the text splitter as the default text splitter (Conflict related error).