Revoke Relationship
Initiating a Relationship leads to the creation of a Relationship with "Pending" as status.
With this use case, the initiator of the Relationship can revoke the pending Relationship with the given Relationship’s id.
As a result, the status of the Relationship changes from "Pending" to "Revoked".
Parameters
relationshipId, theidof the Relationship
On Success
- Revokes the pending Relationship
- Returns the revoked Relationship
On Failure
- The
relationshipIddoes not resolve to a pending Relationship - You have tried to revoke a Relationship not created by yourself