Skip to content

Commit 7f87cdc

Browse files
authored
Merge pull request #11 from BreakOutEvent/delete-team-profile
delete-team-profile | add delete team function
2 parents 87db655 + 2db3e1c commit 7f87cdc

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/BreakoutApi.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -525,6 +525,10 @@ class BreakoutApi {
525525
return this.instance.delete(`/user/${userId}/`).then(resp => resp.data);
526526
}
527527

528+
deleteTeam(teamId) {
529+
return this.instance.delete(`/team/${teamId}/`).then(resp => resp.data);
530+
}
531+
528532
cloneSettings(debug=false) {
529533
return new BreakoutApi(this.url, this.clientId, this.clientSecret, this.cloudinaryCloud, this.cloudinaryApiKey, debug);
530534
}

0 commit comments

Comments
 (0)