/api/metadata/relation

There are two variants of this function, depending on which type of request you make.

POST - Creates a new relationship.
DELETE - Erases an existing relationship.