createTeam
A MoogDb v2 method that creates a new team, by passing an object containing team information.
Back to MoogDb V2 API Method Reference.
Request arguments
Method createTeam
takes the following request arguments:
Name | Type | Required | Description |
---|---|---|---|
| Object | Yes | An object containing the following information. |
The object teamObj
contains the following information:
Name | Type | Required | Description |
---|---|---|---|
| String | Yes | New team name. Must be unique. |
| JSON Object | No | An SQL-like filter that alerts must match to be assigned to the team. See Filter Search Data for more information on creating SQL-like filters. |
| JSON Object | No | An SQL-like filter that Situations must match to be assigned to the team. See Filter Search Data for more information on creating SQL-like filters. |
| Boolean | No | Set to |
| Array of Numbers or Strings | No | List of the team service names or IDs. |
| Array of Numbers or Strings | No | List of users in the team, either usernames or IDs. |
| String | No | Team description. |
| String | No | Default landing page for the team. |
Response
Method createTeam
returns the following response:
Type | Description |
---|---|
| ID of the new team, or null if an error occurred. |