leave

@DeleteMapping(path = ""/{" + IDENTIFIER_KEY + "}/" + PROJECTS_KEY + "/{" + PROJECT_IDENTIFIER_KEY + "}" + LEAVE_ENDPOINT", headers = [])
open fun leave(@PathVariable(value = "id") id: String, @PathVariable(value = "project_id") projectId: String, @RequestHeader(value = "token") token: String): String

Method to leave from a project

Return

the result of the request as String

Parameters

id

: the identifier of the user

projectId

: the project identifier from leave

token

: the token of the user