Updates a project, custom field values for the given projectId.
Here "owner" field refers to the "contact" of the project.
Security
bearerAuth
Updates a project, autoPublish is required when markAssociatedFilesAsReviewed and doNotPublishInventoryUnknownLicense is part of a request.
- Mock serverhttps://codeinsightapi.redocly.app/_mock/swagger/projects/{projectId}
- Code Insight REST API Serverhttps://codeinsightapi.redocly.app/codeinsight/api/projects/{projectId}
curl -i -X PUT \
https://codeinsightapi.redocly.app/_mock/swagger/projects/1 \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"name": "eportal",
"description": "description",
"folderName": "Projects",
"policyProfileName": "Default License Policy Profile",
"scanProfileName": "Basic Scan Profile (Without CL)",
"autoPublish": true,
"markAssociatedFilesAsReviewed": true,
"owner": "admin",
"risk": "HIGH | default: MEDIUM",
"privateProject": false,
"deleteEmptyInventory": false,
"doNotPublishInventoryUnknownLicense": true,
"folderId": 1,
"expandJarArchives": false,
"eccn": "5D002",
"customFields": [
{
"id": 1,
"value": "Value for custom field"
}
]
}'