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
- Go
TypeScript
Parameters
Body
Returns
201 A short-lived, Account-bound presigned S3 POST. ProfilePictureUpload
Headers: Photon-Version. The raw response carries these headers; see Raw responses.