user

Set the user's avatar

Changes the user avatar. Valid types are gravatar (uses the user email), upload, initials, marble, ldap (synced from LDAP server), openid (synced from OpenID provider), default.

post/user/settings/avatar

Request

  • Base URL
    /api/v1 (relative, and the document was published on a file host, not at the API’s origin)
  • URL
    /api/v1/user/settings/avatar
  • Auth
    API key in header Authorization

Request body

avatar_providerstring

The avatar provider. Valid types are gravatar (uses the user email), upload, initials, marble (generates a random avatar for each user), ldap (synced from LDAP server), openid (synced from OpenID provider), default.

Response

OK

messagestring

A standard message.

Changes

No recorded changes to this operation across all 74 revisions of this API.