removeSituationPrimaryTeam
A MoogDb v2 method that removes the primary team from a Situation. The team remains assigned to the Situation.
Request arguments
Method removeSituationPrimaryTeam
takes the following request arguments:
Name | Type | Required | Description |
---|---|---|---|
| Number | Yes | ID of the Situation that you want to remove the primary team from. |
Response
Method removeSituationPrimaryTeam
returns the following response:
Type | Description |
---|---|
Object | A Javascript object containing the Situation ID. |
API update behavior
The behavior of this method depends on whether the relevant alert or Situation is open, closed and still in the active database, or closed and archived to the historic database. This method updates or returns information about the alert or Situation as follows:
See API Update Behavior for more information on Situation statuses.
Examples
The following examples demonstrate typical use of method removeSituationPrimaryTeam
:
Request example
Example request to remove the primary team from Situation 1906:
var actions = moogdb.removeSituationPrimaryTeam(1906);
Response example
Example response returning the Situation ID that the primary team has been removed from:
{"sitn_id": 1906}