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
                
              

언어 변경

피드백

보내는 중…

피드백이 발송되었습니다.

피드백을 발송할 수 없습니다. 5초 후에 다시 시도하십시오.