delete

@DeleteMapping(headers = "token", path = "/{" + TEAM_IDENTIFIER_KEY + "}" )
open fun delete(    @RequestHeader(value = "token") token: String,     @PathVariable(value = "user_id") userId: String,     @PathVariable(value = "team_id") teamId: String): String

Method to delete a team

Return

the response of the request as String

Parameters

token

The token of the user

userId

The identifier of the user

teamId

The identifier of the team to delete