Update a team

PUT {{baseUrl}}/legacyTeams/:id

Updates an existing team and returns the updated object.

Request Body

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

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}}