Delete file

Http Request

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

Example Header

DELETE /api/v1/portfolio/{{portfolioId}}/file/{{fieldId}} HTTP/1.1
Host: {{DOMAIN}}
Content-Type: application/json
Accept: application/json
Authorization: {{sessionId}}

Info

Require sessionId
Require Editor, Admin role

Parameters

Parameter Type Require Default Description
portfolioId String Yes The ID of the portfolio.
fileId String Yes The ID of file.

Response Data

{
    "deleted": 1504408752
}

Response Code

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