Remove subject relationship.

DELETE https://aws.consentgrid.io/v1/subjects/{type}/{subjectId}/is/{role}/of/{targetType}/{targetSubject}
Authorization: Bearer apiKey

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.