---
title: "Updates a Project's Image"
method: PUT
path: "/Projects/{id}/Image/{filename}"
tags: ["Projects"]
---

# Updates a Project's Image

`PUT /Projects/{id}/Image/{filename}`

## Request

- Base URL: `https://api.insightly.com/v3.1`
- URL: `https://api.insightly.com/v3.1/Projects/{id}/Image/{filename}`
- Auth: none declared. Required headers: `Authorization`

This action will replace any existing Image attached to the Project. The contents of the image data should be sent as binary data in the request payload. See our <a href="http://github.com/Insightly" target="_blank">client libraries</a> for an example of how this is done.

## Path parameters

- `id` integer, required
- `filename` string, required

## Headers

- `Authorization` string, required

## Request body `application/octet-stream`

- string, binary

## Response `201`

Request succeeded.

- object[]
  - `PROJECT_ID` integer, required
  - `PROJECT_NAME` string, string, required
  - `STATUS` string, string, required
  - `PROJECT_DETAILS` string, string
  - `STARTED_DATE` string, date-time
  - `COMPLETED_DATE` string, date-time
  - `OPPORTUNITY_ID` integer
  - `CATEGORY_ID` integer
  - `PIPELINE_ID` integer
  - `STAGE_ID` integer
  - `IMAGE_URL` string, string
  - `OWNER_USER_ID` integer
  - `DATE_CREATED_UTC` string, date-time
  - `DATE_UPDATED_UTC` string, date-time
  - `LAST_ACTIVITY_DATE_UTC` string, date-time
  - `NEXT_ACTIVITY_DATE_UTC` string, date-time
  - `CREATED_USER_ID` integer
  - `RESPONSIBLE_USER_ID` integer
  - `CUSTOMFIELDS` APICustomField[]
    - `FIELD_NAME` string
    - `FIELD_VALUE` object
  - `TAGS` APITag[]
    - `TAG_NAME` string
  - `LINKS` APILinkDto[]
    - `LINK_ID` integer
    - `OBJECT_NAME` string
    - `OBJECT_ID` integer
    - `LINK_OBJECT_NAME` string
    - `LINK_OBJECT_ID` integer
    - `ROLE` string
    - `DETAILS` string
    - `RELATIONSHIP_ID` integer
    - `IS_FORWARD` boolean
  - `LINKED_EMAIL_ADDRESS` string, string

## Other responses

- `400`: Data validation error.
- `401`: Authentication failed.
- `402`: Storage limit reached.
- `403`: API User does not have access to Record.
- `404`: Record not found.
- `417`: Image update failed.

---

[API](https://skmtc.dev/insightly/apis/insightly-api-v3-1.md) - [All operations](https://skmtc.dev/insightly/apis/insightly-api-v3-1/llms.txt) - [OpenAPI document](https://skmtc.dev/insightly/apis/insightly-api-v3-1/revisions/e7df0c3b65fb?raw)
