(408) 943-4100               V   Commercial Support


  2 minute read.

Last Modified 2021-02-04 11:38 EST
NamespaceNameAdmin OnlyLog SummaryGenerates EventVersion Added


Create a new team (Administrator Access Only - others will get a 403/Forbidden error code).

Input Arguments

  • Required Arguments:
    • “name” (string) : Name of the team (must be unique - will return an error if a team with that name already exists).
  • Optional Arguments:
    • “allowed_servers” (JsonArray) : Format - [ [“id1”,“r/w or r”], [“id2”,“r/w or r”] ] where “r”=ReadOnly and “r/w”=ReadWrite
    • “allowed_groups” (JsonArray) : Format - [ [“id1”,“r/w or r”], [“id2”,“r/w or r”] ] where “r”=ReadOnly and “r/w”=ReadWrite
    • “icon_base64” (string) : Base64-encoded icon file that can be used to represent the team.
    • “tags” (JsonArray) : Search tags, Format - [“tag_1”, “tag_2”].
    • “create_alerts” (boolean) : Team members are allows to create alert rules (default value: false)
      • Field added in version 1.1

Request Example Arguments

ARGUMENTS ONLY: See the basics of API requests for additional formatting information.

  "name" : "My Team"

Reply Example

  "result" : "success",
  "ugid" : "new_team_ugid",
  "name" : "My Team"


Events from this change will be sent to all currently-connected administrators and any user with read access to the new server (such as from adding a server to an existing group).


"namespace" : "event",
"name" : "teams/add",
"id" : "",
"args" : {
  "ugid" : "my_team-1",
  "name" : "My Team"

Log Summary

Log entries for this API call will have the following “summary” object. Note that empty fields from the input arguments (icon_base64, allowed_servers, allowed_groups) will result in those fields getting excluded from the summary as well (the summary only lists the changes).

"summary" : {
  "action" : "teams/add",
  "created_by_username" : "admin_user",
  "created_by_uuid" : "admin_user_uuid",
  "new_name" : "My Team",
  "new_ugid" : "my_team-1",
  "allowed_servers" : [["server_id_1","r/w"], ["server_id_2","r"]],
  "allowed_groups" : [["group_1","r"], ["group_2","r/w"]]

See Also