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