deleteTeam
A MoogDb v2 method that deletes a single team.
Request arguments
Method deleteTeam
takes the following request arguments:
Name |
Type |
Required |
Description |
---|---|---|---|
|
Number |
Yes |
ID of the team you want to delete. |
Response
Method deleteTeam
returns the following response:
Examples
The following examples demonstrate typical use of method deleteTeam
:
Request example
Example request to delete a team with ID 33.
var success = moogdb.deleteTeam(33)