PATCH
/
project
/
{projectId}
curl --request PATCH \
  --url https://app-preprod.cybedefend.com/project/{projectId} \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "teamId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "applicationType": "web_application",
  "analysisFrequency": "weekly",
  "emailAlertEnabled": true,
  "monthlyReportEnabled": true,
  "weeklyReportEnabled": true,
  "sastEnabled": true,
  "dastEnabled": true,
  "scaEnabled": true,
  "containerEnabled": true,
  "apiEnabled": true,
  "iacEnabled": true,
  "sastFastScanEnabled": true,
  "aiDataflowEnabled": true,
  "sastSeverities": [
    "critical"
  ],
  "iacSeverities": [
    "critical"
  ],
  "scaSeverities": [
    "critical"
  ],
  "incidentCreationOption": "<string>",
  "aiMergeRequestEnabled": true,
  "improvingResultsEnabled": true,
  "sortsVulnerabilitiesEnabled": true
}'
{
  "success": true,
  "message": "<string>",
  "projectInformations": {
    "projectId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "teamId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "teamName": "<string>",
    "name": "<string>",
    "createdAt": "2023-11-07T05:31:56Z",
    "updatedAt": "2023-11-07T05:31:56Z",
    "applicationType": "web_application",
    "analysisFrequency": "weekly",
    "emailAlertEnabled": true,
    "monthlyReportEnabled": true,
    "weeklyReportEnabled": true,
    "sastEnabled": true,
    "dastEnabled": true,
    "scaEnabled": true,
    "containerEnabled": true,
    "apiEnabled": true,
    "iacEnabled": true,
    "sastFastScanEnabled": true,
    "aiDataflowEnabled": true,
    "sastSeverities": [
      "critical"
    ],
    "scaSeverities": [
      "critical"
    ],
    "iacSeverities": [
      "critical"
    ],
    "incidentCreationOption": "<string>",
    "aiMergeRequestEnabled": true,
    "improvingResultsEnabled": true,
    "sortsVulnerabilitiesEnabled": true
  }
}

Path Parameters

projectId
string
required

Project ID

Body

application/json

Response

201
application/json

Project updated successfully

The response is of type object.