Delete prompt
DELETE/:organization_id/prompts/:id
Deletes a prompt
Request
Path Parameters
organization_id integerrequired
Organization ID
id integerrequired
Prompt ID
Responses
- 204
- 401
- 403
- 404
No content - Prompt deleted successfully
Unauthorized
Forbidden
Not found
Authorization: http
name: basicAuthtype: httpscheme: basicdescription: Basic authentication using API key ID and API key
- python
- nodejs
- ruby
- curl
- go
- php
- java
- powershell
- javascript
- rust
- HTTP.CLIENT
- REQUESTS
import http.client
conn = http.client.HTTPSConnection("cloud-staging.cloverhound.com")
payload = ''
headers = {
'Authorization': 'Basic PHVzZXJuYW1lPjo8cGFzc3dvcmQ+'
}
conn.request("DELETE", "/:organization_id/prompts/:id", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))