DELETE api/2.0/people/{userid}/photo This function requires authentication

Description

Deletes a photo of the user with the ID specified in the request.

Parameters
Name Description Type Example
userid
sent in url
User ID string some text
Example
DELETE api/2.0/people/%22some+text%22/photo
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json
Returns

Thumbnail parameters: original photo, retina, maximum size photo, big, medium, small

Example Response

application/json

{
  "status": 0,
  "response": {
    "Original": "some text",
    "Retina": "some text",
    "Max": "some text",
    "Big": "some text",
    "Medium": "some text",
    "Small": "some text"
  }
}

text/xml

<result>
  <status>0</status>
  <response>
    <Original>some text</Original>
    <Retina>some text</Retina>
    <Max>some text</Max>
    <Big>some text</Big>
    <Medium>some text</Medium>
    <Small>some text</Small>
  </response>
</result>