leave

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

Method to leave from 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 from leave