Delete Preferred Parent Relationship
This example request illustrates how to delete a user's preferred parent relationship for a person.
JSON
Request
DELETE /platform/tree/users/54321/preferred-parent-relationships/12345
Accept: application/x-gedcomx-v1+json
X-Reason: Deleted for reason 1
Authorization: Bearer YOUR_ACCESS_TOKEN_HERE
Response
HTTP/1.1 204 No Content
Content-type: application/x-gedcomx-v1+json
X-processing-time: 3
Vary: Accept,Accept-Language,Accept-Encoding,Expect
Content-length: 0
Content-location: /platform/tree/users/54321/preferred-parent-relationships/12345
Date: Sun, 03 Apr 1836 10:00:00 GMT-5
Cache-control: no-transform, must-revalidate, max-age=0
XML
Request
DELETE /platform/tree/users/54321/preferred-parent-relationships/12345
Accept: application/x-gedcomx-v1+xml
X-Reason: Deleted for reason 1
Authorization: Bearer YOUR_ACCESS_TOKEN_HERE
Response
HTTP/1.1 204 No Content
Content-type: application/x-gedcomx-v1+xml
X-processing-time: 3
Vary: Accept,Accept-Language,Accept-Encoding,Expect
Content-length: 0
Content-location: /platform/tree/users/54321/preferred-parent-relationships/12345
Date: Sun, 03 Apr 1836 10:00:00 GMT-5
Cache-control: no-transform, must-revalidate, max-age=0
Updated 5 days ago