Add a new team

POST {{baseUrl}}/legacyTeams

Adds a new team to the company and returns the created object.

Request Body

{"name"=>"<string>", "manager_id"=>"<integer>", "description"=>"<string>", "users"=>["<integer>", "<integer>"]}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: OK

{&quot;success&quot;:true,&quot;data&quot;:{&quot;id&quot;:1,&quot;name&quot;:&quot;Closers&quot;,&quot;description&quot;:&quot;Berlin office Sales Team&quot;,&quot;manager_id&quot;:4,&quot;users&quot;:[2,3,5],&quot;active_flag&quot;:1,&quot;deleted_flag&quot;:0,&quot;add_time&quot;:&quot;2019-10-07 09:06:09&quot;,&quot;created_by_user_id&quot;:2}}