langsmith.client.Client.delete_prompt#
- Client.delete_prompt(prompt_identifier: str) None[source]#
Delete a prompt.
- Parameters:
prompt_identifier (str) – The identifier of the prompt to delete.
- Returns:
True if the prompt was successfully deleted, False otherwise.
- Return type:
bool
- Raises:
ValueError – If the current tenant is not the owner of the prompt.