Connections
Delete connection
Remove a connection no tool uses anymore.
https://app.elunos.ai/api/v1/spaces/{space}/connections/{connection}Deletes a connection together with its credentials. If tools still use it, the API refuses with 409 referenced and names them. Delete or move them first.
Path parameters
spacestringPflichtSlug of the space, e.g. `praxis-mueller`. Returned by `GET /spaces`.
connectionuuidPflichtID of the connection.
Query parameters
expected_updated_atdatetime`updated_at` from your last read. If the stored value differs, the API answers 409 `stale` with the current record instead of overwriting someone else's change.
Example
curl -X DELETE https://app.elunos.ai/api/v1/spaces/praxis-mueller/connections/0199a3c3-5b6c-7a02-b4d1-9e8f7a6c5d32 \
-H "Authorization: Bearer np_xxxxxxxx"Response
If the connection is still in use:
{
"code": "referenced",
"message": "The connection is used by 3 tools.",
"references": [
{
"type": "tool",
"id": "0199a3c4-1f2a-7c55-8e10-6b7d9a3e2f11",
"name": "Freie Termine suchen"
}
]
}