User
Update user picture
Changed onUpdate a marketplace user’s profile picture. This method expects a Content-Type request header with a value of “multipart/form-data”. The updated user resource is returned.
put/account/v2/users/{userUuid}/picture
Request
- Base URLhttps://marketplace.appdirect.com/api
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
userUuidstring required
Unique identifier of user in the API request
Request body
object required
Response
Success
Example response
{
"uuid": "8d237de5-9710-4d55-a5cc-3e8dc918c216",
"email": "jude.doe@company8578572384.com",
"username": "jude.doe",
"firstName": "Jude",
"lastName": "Doe",
"picture": "http://localhost:8080/profilePics/img2147417701652580695.png?184b58e358f087154d94329f9000b28a",
"activated": true,
"allowLogin": true,
"currency": "USD",
"creationDate": 1398896238000,
"lastSuccessfulLogin": 1543259363000,
"openId": "http://localhost:8080/openid/id/2f93cb24-f7b9-433f-875e-bb0dd9b0f1c1",
"externalId": "b34974b2-f5d6-4326-9859-5247dc42ee60",
"idpUuid": "1d37bace-f4cf-11e6-af80-22000a9513f7",
"locale": "en_US",
"customAttributes": [
{
"name": "C5125859",
"attributeType": "TEXT",
"label": "Commission_Payout_ID",
"hint": "commission_hint",
"value": "value"
}
],
"ldapId": "1",
"boostUser": {
"apsUid": "murnu8w"
},
"roles": [
"ROLE_USER"
],
"metadata": {
"apsUid": null
},
"links": [
{
"rel": "self",
"href": "http://appdirect/api/account/v2/users/8d237de5-9710-4d55-a5cc-3e8dc918c216"
},
{
"rel": "memberships",
"href": "http://appdirect/api/account/v2/users/8d237de5-9710-4d55-a5cc-3e8dc918c216/memberships"
}
]
}Changes
- breaking
removed the media type
*/*for the response with the status - breaking
removed the media type
*/*for the response with the status
- breaking