Function: create_user_team Version: 21.0+
Argument Name |
Type
Description |
|
---|---|---|
name |
string |
Name of the new team. |
rule |
string |
The rule of the new team. |
partitions |
object array |
The list of partitions for the new team. |
partitions.partition_id |
string |
The id of the existing partition to be added to this team. |
partitions.borrow |
boolean |
Indicates if users checking out licenses from this partition should borrow or own the seat. |
response
{ "success": true, "error": "", "user_team_id": "", "name": "", "rule": "", "partitions": [ { "partition_id": "", "borrow": true } ] }
Key |
Type |
Description |
---|---|---|
success |
boolean |
Indicates if creating the team was successful. |
error |
string |
Description of the error while creating the team. |
user_team_id |
string |
The id of the team that was created. |
name |
string |
The name of the team. |
rule |
string |
The rule of the team. |
partitions |
object array |
All partitions attached to this team. |
partitions.partition_id |
string |
The id of the partition attached to this team. |
partitions.borrow |
boolean |
Indicates if users checking out a license from this partition should borrow or own the seat. |