CreateProfileImageDto
| Field | Required | Description |
|---|---|---|
assetId | No | ID of the photo the image was copied from, if any. A Locked photo is refused. |
file | Yes | Profile image file |
keepSource | No | The image is a new crop of the current profile picture: keep the photo it was copied from, if any. Ignored when assetId is set. |
Complete definition
required lists fields that must be present. nullable allows a null value; it does not make the field optional. Response enums retain exact wire values for compatibility.
{
"properties": {
"assetId": {
"description": "ID of the photo the image was copied from, if any. A Locked photo is refused.",
"format": "uuid",
"type": "string"
},
"file": {
"description": "Profile image file",
"format": "binary",
"type": "string"
},
"keepSource": {
"description": "The image is a new crop of the current profile picture: keep the photo it was copied from, if any. Ignored when assetId is set.",
"type": "boolean"
}
},
"required": [
"file"
],
"type": "object"
}© 2026 Frameleaf Inc. All rights reserved.
Frameleaf and the Frameleaf logo are Trademarks of Frameleaf Inc.