Update file

Http Request

PUT /api/v1/portfolio/{{portfolioId}}/file/{{fieldId}}

Example Header

PUT /api/v1/portfolio/{{portfolioId}}/file/{{fieldId}} HTTP/1.1
Host: {{DOMAIN}}
Content-Type: multipart/form-data; boundary=032a1ab685934650abbe059cb45d6ff3
Accept: application/json
Authorization: {{sessionId}}


Require sessionId
Require Editor, Admin role


Parameter Type Require Default Description
portfolioId String Yes The ID of the portfolio.
fileId String Yes The ID of file.
field String Yes cover, draftingProcess or additionalDocument
description String The description of file.

Request Body

Content-Disposition: form-data; name="file"; filename="Screen Shot 2017-09-01 at 17.31.21.png"
Content-Type: image/png

{{file}} (BINARY OF FILE)
Content-Disposition: form-data; name="field"

Content-Disposition: form-data; name="description"


Response Data

    "modified": 1504475472

Response Code

Code Result Description
200 success Response to a successful request.
400 error The request is malformed or missing some required parameters.
401 error Unauthorized token or the sessionId was expired.