Skip to content

Create Project With A New Product

Request

Creates a new project within a new product. If project name exists will return existing project

Security
bearer-key
Path
orgTokenstringrequired

org UUID (by running Entities - Organization > Get User Organizations) or API Key (from the Mend SCA App: Integrate tab > API Key).

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

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(CreateProjectResponseDTO)
Response
{ "additionalData": { "created": "true" }, "supportToken": "1171c60d", "retVal": { "project": {}, "product": {} } }