Levels
Delete User Level
Delete a user's level from a guild
DELETE
/levels/{guildId}/users/{userId}
Authorization
X-Api-Key<token>
The user's API key to authenticate requests
In: header
Path Parameters
guildIdSnowflake
A Discord snowflake identifier
Pattern
"^[1-9]\\d+$"
Length
17 <= length <= 19
userIdSnowflake
A Discord snowflake identifier
Pattern
"^[1-9]\\d+$"
Length
17 <= length <= 19
Response Body
User level deleted successfully
curl -X DELETE "https://api.lurkr.gg/v2/levels/stringstringstrin/users/stringstringstrin"
fetch("https://api.lurkr.gg/v2/levels/stringstringstrin/users/stringstringstrin")
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://api.lurkr.gg/v2/levels/stringstringstrin/users/stringstringstrin"
req, _ := http.NewRequest("DELETE", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := ioutil.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
import requests
url = "https://api.lurkr.gg/v2/levels/stringstringstrin/users/stringstringstrin"
response = requests.request("DELETE", url)
print(response.text)
Empty