UBIK Agent will launch soon, join the waitlist to get access!
English
Python
import requests url = "https://app.ubik-agent.com/api/v1/documents/{document_id}" headers = {"X-API-KEY": "<api-key>"} response = requests.delete(url, headers=headers) print(response.text)
{ "detail": [ { "loc": [ "<string>" ], "msg": "<string>", "type": "<string>" } ] }
Delete a document. This will remove the document from the user’s default workspace and, if they are the last owner, delete it from the system entirely.
Successful Response
Was this page helpful?