# Upload account image This endpoint allows to upload a profile picture to the specified user using accountId (Supported formats: JPG, JPEG, PNG. Max file size: 16MB) Endpoint: PUT /api/v2/accounts/{accountId}/images Version: 2.0.0 Security: mms ## Path parameters: - `accountId` (string, required) ## Header parameters: - `Content-Length` (integer, required) ## Request fields (multipart/form-data): - `file` (any, required) ## Response 400 fields (application/json): - `timestamp` (string) The timestamp of the request. - `path` (string) The path requested. - `requestId` (string) The request ID. Example: "de625cf1-1" - `status` (integer) The http status code. - `error` (string) The error. - `errorCode` (string) The static error code. - `message` (string) The message to describe the error. - `fieldErrors` (array) The constraint violations. - `fieldErrors.name` (string) The field name. Example: "age" - `fieldErrors.message` (string) The error message. Example: "Must be greater than 10." - `fieldErrors.rejectedValue` (any) The rejected value. Example: 3 - `metadata` (object) Additional information of the error context ## Response 401 fields (application/json): - `timestamp` (string) The timestamp of the request. - `path` (string) The path requested. - `requestId` (string) The request ID. Example: "de625cf1-1" - `status` (integer) The http status code. - `error` (string) The error. - `errorCode` (string) The static error code. - `message` (string) The message to describe the error. - `fieldErrors` (array) The constraint violations. - `fieldErrors.name` (string) The field name. Example: "age" - `fieldErrors.message` (string) The error message. Example: "Must be greater than 10." - `fieldErrors.rejectedValue` (any) The rejected value. Example: 3 - `metadata` (object) Additional information of the error context ## Response 403 fields (application/json): - `timestamp` (string) The timestamp of the request. - `path` (string) The path requested. - `requestId` (string) The request ID. Example: "de625cf1-1" - `status` (integer) The http status code. - `error` (string) The error. - `errorCode` (string) The static error code. - `message` (string) The message to describe the error. - `fieldErrors` (array) The constraint violations. - `fieldErrors.name` (string) The field name. Example: "age" - `fieldErrors.message` (string) The error message. Example: "Must be greater than 10." - `fieldErrors.rejectedValue` (any) The rejected value. Example: 3 - `metadata` (object) Additional information of the error context ## Response 404 fields (application/json): - `timestamp` (string) The timestamp of the request. - `path` (string) The path requested. - `requestId` (string) The request ID. Example: "de625cf1-1" - `status` (integer) The http status code. - `error` (string) The error. - `errorCode` (string) The static error code. - `message` (string) The message to describe the error. - `fieldErrors` (array) The constraint violations. - `fieldErrors.name` (string) The field name. Example: "age" - `fieldErrors.message` (string) The error message. Example: "Must be greater than 10." - `fieldErrors.rejectedValue` (any) The rejected value. Example: 3 - `metadata` (object) Additional information of the error context ## Response 500 fields (application/json): - `timestamp` (string) The timestamp of the request. - `path` (string) The path requested. - `requestId` (string) The request ID. Example: "de625cf1-1" - `status` (integer) The http status code. - `error` (string) The error. - `errorCode` (string) The static error code. - `message` (string) The message to describe the error. - `fieldErrors` (array) The constraint violations. - `fieldErrors.name` (string) The field name. Example: "age" - `fieldErrors.message` (string) The error message. Example: "Must be greater than 10." - `fieldErrors.rejectedValue` (any) The rejected value. Example: 3 - `metadata` (object) Additional information of the error context ## Response 204 fields