Header name | Description |
---|---|
Content-Type required |
application/json |
X-API-KEY required |
YOUR_API_KEY |
Param name | Description |
---|---|
project_id required |
Project ID of project to remove thumbnail from Validations:
|
// Invalid project_id DELETE /api/v2/projects/not-found-id/thumbnail 404 { "error": "project not found" }
// Successful request DELETE /api/v2/projects/I1adq7YZETRIxtUGYpTS/thumbnail 200 { "message": "Succesfully removed thumbnail from project" }
// When thumbnail_asset_id is already nil DELETE /api/v2/projects/SD4Uf18UJB-D5Yw-npP4/thumbnail 400 { "error": "Project has no thumbnail asset" }
Code | Description |
---|---|
401 | Unauthorized |
404 | Not found |
500 | Internal Server Error |
422 | Missing parameters |