Skip to main content
Permanently deletes a prompt from your workspace. This action cannot be undone.

Base URL

Dedicated deploymentsReplace api.langdock.com with <your-deployment-url>/api/public in all requests.

Required Scopes

This endpoint requires the PROMPT_API scope.
Requires creator access, workspace editor access, or group editor access on the prompt’s folder.

Parameters

Example

Response Format

Success Response (200 OK)

Error Handling

Deleting a prompt is permanent.
Langdock intentionally blocks browser-origin requests to protect your API key and ensure your applications remain secure. For more information, please see our guide on API Key Best Practices.