team_name
: The name of the new team.org_id
: The unique identifier of the organization to which the team belongs.created_by
: The email of the user who is creating the team.user_id
: The unique ID of the user making the request.team_name
, created_by
, created_on
, and org_id
.curl --location -g --request POST 'https:///v2/api/team' \
--header 'Ocp-Apim-Subscription-Key: ' \
--header 'Authorization: Bearer ' \
--header 'Content-Type: application/json' \
--data-raw '{
"team_name": "AI Research Team",
"org_id": 1,
"created_by": "user@example.com",
"user_id": 160
}'
{
"success": true,
"message": "Team created successfully",
"data": {
"id": 242,
"created_by": "user@example.com",
"created_on": "2025-01-28T21:41:24.567134Z",
"modified_by": "",
"modified_on": "2025-01-28T21:41:24.567159Z",
"team_name": "AI Research Team",
"is_deleted": false,
"org": 1
}
}