Delete Person Portrait Selection
This example request illustrates how to delete the portrait selection of a user for a person in the Tree. The delete operation will only remove the current user's portrait selection, meaning the user may still see a "default" portrait that was selected by another user.
JSON
Request
DELETE /platform/tree/persons/PPPP-PPP/portrait Content-Type: application/x-fs-v1+json Accept: application/x-fs-v1+json X-Reason: Test Authorization: Bearer YOUR_ACCESS_TOKEN_HERE
Response
HTTP/1.1 204 No Content Content-type: application/x-fs-v1+json X-processing-time: 3 Vary: Accept,Accept-Language,Accept-Encoding,Expect Content-length: 0 Content-location: /platform/tree/persons/PPPP-PPP/portrait 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/portrait Content-Type: application/x-fs-v1+xml Accept: application/x-fs-v1+xml X-Reason: Test Authorization: Bearer YOUR_ACCESS_TOKEN_HERE
Response
HTTP/1.1 204 No Content Content-type: application/x-fs-v1+xml X-processing-time: 3 Vary: Accept,Accept-Language,Accept-Encoding,Expect Content-length: 0 Content-location: /platform/tree/persons/PPPP-PPP/portrait Date: Sun, 03 Apr 1836 10:00:00 GMT-5 Cache-control: no-transform, must-revalidate, max-age=0
Sending...
Feedback was sent.
Can't send feedback. Retry in 5 seconds.