Accept Relationship
Initiating a Relationship leads to the creation of a Relationship with "Pending"
as status
.
With this use case, the other involved Identity can accept the pending Relationship with the given Relationship’s id
.
As a result, the status
of the Relationship changes from "Pending"
to "Active"
.
Parameters
relationshipId
, theid
of the Relationship
On Success
- Accepts the pending Relationship
- Returns the accepted Relationship
On Failure
- The
relationshipId
does not resolve to a pending Relationship - You have tried to accept a Relationship created by yourself