Skip to content

Create Project

Request

Creates a new project within a given product. If the project already exists it returns the existing project.

Security
bearer-key
Path
productTokenstringrequired

product UUID (by running Entities - Organization > Get Organization Products) or Product Token (from the Mend SCA App: Integrate tab > Product Token).

Bodyapplication/jsonrequired
projectNamestring(Project Name)required
Example:"Project A"
projectDescriptionstring(Project Description)
Example:"Description for project"
POST
/api/v2.0/products/{productToken}/projects
{ "projectName": "Project A", "projectDescription": "Description for project" }

Responses

OK

Bodyapplication/json
additionalDataobject(Provides insights on creating resources using supported endpoints.)
  • created: Indicates whether the requested project was successfully created or if it already exists. When “true”, this signifies the project was successfully created. When “false”, this indicates the project already exists
Example:
{ "created": "true" }
supportTokenstring(Support Token)
Example:"1171c60d"
retValobject(ProjectDTO)
Response
{ "additionalData": { "created": "true" }, "supportToken": "1171c60d", "retVal": { "uuid": "123e4567-e89b-12d3-a456-426655440000", "name": "My Project", "path": "My Product", "productName": "My Product", "productUuid": "123e4567-e89b-12d3-a456-426655440000" } }