project_name
is unique within the team to avoid conflicts.team_id
must reference a valid team that the authenticated user has access to.project_name
: A unique, descriptive name for the project.team_id
: The unique identifier of the team to which the project belongs.curl --location -g --request POST 'https:///v2/api/project' \
--header 'Ocp-Apim-Subscription-Key: ' \
--header 'Authorization: Bearer ' \
--header 'Content-Type: application/json' \
--data-raw '{
"project_name": "Example Project",
"team_id": 1
}'
{
"success": true,
"message": "Project created successfully.",
"data": {
"id": 151,
"created_by": "user@example.com",
"created_on": "2024-10-22T00:43:29.531995Z",
"modified_by": "user@example.com",
"modified_on": "2024-10-22T00:43:29.532010Z",
"project_name": "Example Project",
"team_visibility": false,
"is_deleted": false,
"team": 1
}
}