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}/workspaces" payload = { "workspace_ids": ["3c90c3cc-0d44-4b50-8888-8dd25736052a"] } headers = { "X-API-KEY": "<api-key>", "Content-Type": "application/json" } response = requests.delete(url, json=payload, headers=headers) print(response.text)
{ "detail": [ { "loc": [ "<string>" ], "msg": "<string>", "type": "<string>" } ] }
Removes a document from one or more workspaces.
A list of workspace unique identifiers.
Successful Response
Was this page helpful?