---
title: "PUT images-icon-upload-urls"
url: "https://tenant1.jeffyongtaotang.com/apis/poc-api-image-of-s3-app-0/versions/c7ec546f-f246-4ade-803d-092a92ef0fc9/paths/images-icon-upload-urls/put"
---

> Full API specification: https://tenant1.jeffyongtaotang.com/apis/poc-api-image-of-s3-app-0/versions/c7ec546f-f246-4ade-803d-092a92ef0fc9.md

# /images/icon/upload-urls

`PUT` `/images/icon/upload-urls`

Upsert an presign post url for image upload.

## Request body (required)

Content types: `application/json`

## Responses

- `200` - OK

## OpenAPI definition

```yaml
openapi: 3.0.3
info:
  title: PoC API Image of S3 App
  version: 0.0.1
servers:
  - url: https://erringly-fluxionary-sarah.ngrok-free.dev
paths:
  /images/icon/upload-urls:
    put:
      description: Upsert an presign post url for image upload.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              additionalProperties: false
              required:
                - checkSum
              properties:
                checkSum:
                  type: string
                  description: SHA256 hash in base64 encode of the image
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  id:
                    type: string
                    description: A genrerted UUID identifier to use as part of the S3 object key
                    example: 3d4e4def-da26-476f-8975-4505c37a3df0
                  presignedPost:
                    type: object
                    description: AWS Presign Post
                    example:
                      url: https://jeff-api-image-s3-poc.s3.us-east-2.amazonaws.com/
                      fields:
                        key: uploads/tmp/0991cbe3-1bee-453c-9c83-af9bb45f36bc
                        x-amz-checksum-algorithm: SHA256
                        x-amz-checksum-sha256": xv3wBV4a2ciREythzDXNtOQqCcpESsrdezhcQn3pMnk=
                        bucket: jeff-api-image-s3-poc
                        X-Amz-Algorithm: AWS4-HMAC-SHA256
                        X-Amz-Credential: ASIA3NNM3GS4YMDBYLIY/20260118/us-east-2/s3/aws4_request
                        X-Amz-Date: 20260118T033135Z
                        X-Amz-Security-Token: FwoGZ+,,/2
                        Policy: eyJleHBpcmF0aW9uIjoidFKysvMiJ9XX0=
                        X-Amz-Signature: dFKysvMiJ9XX0=
```
