Leave a challenge.
curl --request POST \
--url https://tryno.io/api/challenges/{id}/leave \
--cookie __session=const options = {method: 'POST', headers: {cookie: '__session='}};
fetch('https://tryno.io/api/challenges/{id}/leave', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://tryno.io/api/challenges/{id}/leave"
headers = {"cookie": "__session="}
response = requests.post(url, headers=headers)
print(response.text){}{
"error": "<string>"
}{
"error": "<string>"
}challenges
Leave a challenge.
POST
/
challenges
/
{id}
/
leave
Leave a challenge.
curl --request POST \
--url https://tryno.io/api/challenges/{id}/leave \
--cookie __session=const options = {method: 'POST', headers: {cookie: '__session='}};
fetch('https://tryno.io/api/challenges/{id}/leave', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://tryno.io/api/challenges/{id}/leave"
headers = {"cookie": "__session="}
response = requests.post(url, headers=headers)
print(response.text){}{
"error": "<string>"
}{
"error": "<string>"
}
