List organization teams

GET /teams


Response:

[
    {
        slug: "",
        name: ""
    },
    ...
]


Create new team

POST /teams


Request:

{
    slug: "",
    name: ""
}


Response:

{
    slug: "",
    name: ""
}



Note that if slug is already in use, then a variation will be returned.



Get specific team details

GET /teams/<team_slug>


Response:

{
    name: "",
    slug: ""
}


Update team

PUT /teams/<team_slug>


Request:

{
    name: "",
    slug: ""
}


Response:

{
    name: "",
    slug: ""
}


Delete team

DELETE /teams/<team_slug>