POST /v1/account/profile-picture/uploads
Creates a ten-minute, Account-bound presigned S3 POST for a JPEG, PNG, or WebP profile picture up to 5 MiB. Copy every returned formFields entry into a multipart/form-data request to uploadUrl, append the local file as the final form part, and upload it directly without sending Photon credentials. After the upload succeeds, call commitAccountProfilePicture with the returned uploadId. Do not cache or log the upload URL or form fields.
- TypeScript
- Python
- Rust
TypeScript
Body
ProfilePictureContentType
required
Returns
201 A short-lived, Account-bound presigned S3 POST. ProfilePictureUpload
string (date-time)
required
ProfilePictureUploadFormFields
required
string
required
string (uri)
required