Avatar

Add Avatar To User

See documentation for Upload fileopen in new window.

Delete Avatar From User

curl -i -X DELETE "https://example.ziik.io/api/users/123/image"
  -H "Authorization: Bearer aaaaaa.bbbbbbb.ccccccc"

The above command returns a 204 No Content header on success:

HTTP/1.0 204 No Content

This endpoint deletes an image from a user.

HTTP Request

DELETE https://example.ziik.io/api/users/ID/image

URL Parameters

ParameterTypeDescription
IDIntegerThe ID of the user

Permissions Required

  • User edit access
Contributors: Christian Gerdes