Your data / PVP tracker / Matches
DELETE
https://ba.joexyz.online/api/v1/me/pvp/seasons/:seasonId/matches/:matchIdhttp://localhost:3000/api/v1/me/pvp/seasons/:seasonId/matches/:matchIdDeletes a match.
Parameters
seasonId(path): The season id.matchId(path): The match id.
Authentication
Bearer Token — send Authorization: Bearer <token>. Inherited from folder "Your data".
Path parameters
| Name | Value |
|---|---|
| seasonId | |
| matchId |
curl -X DELETE https://ba.joexyz.online/api/v1/me/pvp/seasons/:seasonId/matches/:matchId \
-H 'Authorization: Bearer {{api_key}}'const response = await fetch("https://ba.joexyz.online/api/v1/me/pvp/seasons/:seasonId/matches/:matchId", {
method: "DELETE",
headers: {
"Authorization": "Bearer {{api_key}}",
},
});
const data = await response.json();
console.log(data);import requests
url = "https://ba.joexyz.online/api/v1/me/pvp/seasons/:seasonId/matches/:matchId"
headers = {
"Authorization": "Bearer {{api_key}}",
}
response = requests.delete(url, headers=headers)
print(response.json())package main
import (
"fmt"
"io"
"net/http"
)
func main() {
req, err := http.NewRequest("DELETE", "https://ba.joexyz.online/api/v1/me/pvp/seasons/:seasonId/matches/:matchId", nil)
if err != nil {
panic(err)
}
req.Header.Set("Authorization", "Bearer {{api_key}}")
res, err := http.DefaultClient.Do(req)
if err != nil {
panic(err)
}
defer res.Body.Close()
data, _ := io.ReadAll(res.Body)
fmt.Println(string(data))
}curl -X DELETE http://localhost:3000/api/v1/me/pvp/seasons/:seasonId/matches/:matchId \
-H 'Authorization: Bearer {{api_key}}'const response = await fetch("http://localhost:3000/api/v1/me/pvp/seasons/:seasonId/matches/:matchId", {
method: "DELETE",
headers: {
"Authorization": "Bearer {{api_key}}",
},
});
const data = await response.json();
console.log(data);import requests
url = "http://localhost:3000/api/v1/me/pvp/seasons/:seasonId/matches/:matchId"
headers = {
"Authorization": "Bearer {{api_key}}",
}
response = requests.delete(url, headers=headers)
print(response.json())package main
import (
"fmt"
"io"
"net/http"
)
func main() {
req, err := http.NewRequest("DELETE", "http://localhost:3000/api/v1/me/pvp/seasons/:seasonId/matches/:matchId", nil)
if err != nil {
panic(err)
}
req.Header.Set("Authorization", "Bearer {{api_key}}")
res, err := http.DefaultClient.Do(req)
if err != nil {
panic(err)
}
defer res.Body.Close()
data, _ := io.ReadAll(res.Body)
fmt.Println(string(data))
}Response
No response body