Create a project
Used to create a new project.
API
POST
https://api.beaglesecurity.com/rest/v2/projects
Required scope: edit_project
Request headers
Content-Type: application/json
Authorization: Bearer xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Request body
name
string
required
Name of the project
description
string
required
Description of the project
Response
name
string
Name of the project
description
string
Description of the project
projectKey
string
A unique key for identifying the project
code
string
Status code for the API call.
Values are:
- SUCCESSAPI call is success
- PLAN_NOT_SUPPORTEDYour plan does not support this feature.
- PROJECT_ALREADY_EXISTSProject already exists in your account.
- INVALID_SESSIONInvalid session
- FAILEDFailed to create project.
- NOT_AUTHORIZEDUser authentication failed.
message
string
Success/failure message for the API call