Remove subject relationship.

DELETE /v1/subjects/{type}/{subjectId}/is/{role}/of/{targetType}/{targetSubject}

This API removes a relationship such that subjectId is a role of targetSubject. For instance to remove child-parent relationship, use subjectId=parentId, role=parent, and targetSubject=childId.

Response

200 Ok

Relationship successfully removed.

404 Not Found

Subject not found.