Uninstall a source's provisional realm, with the nodes it seeded. The connection stays
const url = 'http://localhost:11044/api/v1/learn/sources/example/install';const options = {method: 'DELETE', headers: {'X-Embabel-Api-Key': '<X-Embabel-Api-Key>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request DELETE \ --url http://localhost:11044/api/v1/learn/sources/example/install \ --header 'X-Embabel-Api-Key: <X-Embabel-Api-Key>'Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Name of the source whose provisional realm is uninstalled; the connection itself stays. 404 when no provisional realm is installed for it
Responses
Section titled “Responses”Uninstalled
A connected source disconnected, or its provisional realm uninstalled, with what became of the data that realm had put into the graph
object
What became of the nodes the provisional realm seeded (its scan and anchor doors among them) and the documents it ingested, counted per type and per source, in the shape DELETE /api/v1/realms/{name} reports. Absent when no provisional realm was installed
object
What was done, written to be shown
The source’s name
Example generated
{ "data": {}, "message": "example", "source": "example"}No provisional realm is installed for this source
A refusal carrying only its explanation, with no code to branch on
object
What went wrong, written to be shown. Carries the underlying driver’s or parser’s own message where there is one
Example generated
{ "error": "example"}
