AnsweredAssumed Answered

Create user via REST always set global team, although force set team id.

Question asked by Autchara Chaiprom on Feb 28, 2016
Latest reply on Mar 10, 2016 by Autchara Chaiprom


I try to create user via REST but I cannot set team id it always set to Global team, although I force set team id.

Create user following this Ref.…


My request  looks like below:


$record_arguments = array(
    "user_name" => "testbyme",
    "first_name" => 'test',
    "last_name" => 'lastname',
    "status" => 'Active',
    "default_team" => 'team_id',
    "team_name" => array(
        "id" => 'team_id',
        "name" => 'A',
        "primary" => true,


How do I set team to team A?


Sugar 7.6 Ent