POST api/users/{id}/profilepicture

Uploads and sets a profile picture for a specified user.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

The unique identifier of the user whose profile picture is being set.

integer

Required

Body Parameters

None.

Response Information

Resource Description

On success: HTTP 200 OK with a confirmation message. On failure: HTTP 400 Bad Request with a descriptive error message.

IHttpActionResult

None.

Response Formats

application/json, text/json, application/scim+json

Sample:

Sample not available.