Skip to main content
Glama

RushDB

DetachRelation

Remove relationships between records in RushDB by specifying source ID, target IDs, and relation type to manage your graph database connections.

Instructions

Remove a relationship between records (single or multiple targets)

Input Schema

NameRequiredDescriptionDefault
directionNoDirection of the relationshipoutgoing
relationTypeNoType of the relationship to remove
sourceIdYesID of the source record
targetIdNoID of one target record (deprecated if targetIds provided)
targetIdsNoIDs of multiple target records
transactionIdNoOptional transaction ID for atomic relation removal

Input Schema (JSON Schema)

{ "properties": { "direction": { "default": "outgoing", "description": "Direction of the relationship", "enum": [ "outgoing", "incoming", "bidirectional" ], "type": "string" }, "relationType": { "description": "Type of the relationship to remove", "type": "string" }, "sourceId": { "description": "ID of the source record", "type": "string" }, "targetId": { "description": "ID of one target record (deprecated if targetIds provided)", "type": "string" }, "targetIds": { "description": "IDs of multiple target records", "items": { "type": "string" }, "type": "array" }, "transactionId": { "description": "Optional transaction ID for atomic relation removal", "type": "string" } }, "required": [ "sourceId" ], "type": "object" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/1pxone/RushDB'

If you have feedback or need assistance with the MCP directory API, please join our Discord server