Update Relationship
Updates an existing relationship in the graph.
Path parameters
collection_id
The collection ID corresponding to the graph containing the relationship.
relationship_id
The ID of the relationship to update.
Headers
Authorization
Bearer authentication of the form Bearer <token>
, where token is your auth token.
X-API-Key
Request
This endpoint expects an object.
subject
The updated subject of the relationship.
subject_id
The updated subject ID of the relationship.
predicate
The updated predicate of the relationship.
object
The updated object of the relationship.
object_id
The updated object ID of the relationship.
description
The updated description of the relationship.
weight
The updated weight of the relationship.
metadata
The updated metadata of the relationship.
Response
Successful Response
results
A relationship between two entities.
This is a generic relationship, and can be used to represent any type of
relationship between any two entities.