Delete Person Source Reference

This example request illustrates how to delete a source reference. This will not delete the source description, only the reference to it.

JSON

Request

DELETE /platform/tree/persons/PPPP-PPP/source-references/SRSR-R01
X-Reason: testDelete use case 1 reason
Content-Type: application/x-gedcomx-v1+json
Authorization: Bearer YOUR_ACCESS_TOKEN_HERE

Response

HTTP/1.1 204 No Content
Content-type: text/html
X-processing-time: 3
Vary: Accept,Accept-Language,Accept-Encoding,Expect
Content-length: 0
Content-location: /platform/tree/persons/PPPP-PPP/source-references
Date: Sun, 03 Apr 1836 10:00:00 GMT-5
Cache-control: no-transform, must-revalidate, max-age=0

XML

Request

DELETE /platform/tree/persons/PPPP-PPP/source-references/SRSR-R01
X-Reason: testDelete use case 1 reason
Content-Type: application/x-gedcomx-v1+xml
Authorization: Bearer YOUR_ACCESS_TOKEN_HERE

Response

HTTP/1.1 204 No Content
Content-type: text/html
X-processing-time: 3
Vary: Accept,Accept-Language,Accept-Encoding,Expect
Content-length: 0
Content-location: /platform/tree/persons/PPPP-PPP/source-references
Date: Sun, 03 Apr 1836 10:00:00 GMT-5
Cache-control: no-transform, must-revalidate, max-age=0