v6 documentation is incomplete, want to contribute?

Cancel Group Join Request

Cancels a request sent to join the group.

Requests made through this page are proxied through an intermediary server due to Cross-Origin Resource Sharing restrictions.

DELETE
/groups/{groupId}/requests

Authorization

auth<token>

Auth Token via Cookie

In: cookie

Path Parameters

groupIdstring

Must be a valid group ID.

Response Body

OK

You can't cancel a join request if you didn't request to join․

Error response when trying to perform operations on a group you are not member of.

error?Response

Error response when trying to perform operations on a non-existing group.

error?Response
curl -X DELETE "https://api.vrchat.cloud/api/1/groups/grp_00000000-0000-0000-0000-000000000000/requests" \
  -H "auth: <token>"
fetch("https://api.vrchat.cloud/api/1/groups/grp_00000000-0000-0000-0000-000000000000/requests", {
  headers: {
    "auth": "<token>"
  }
})
package main

import (
  "fmt"
  "net/http"
  "io/ioutil"
)

func main() {
  url := "https://api.vrchat.cloud/api/1/groups/grp_00000000-0000-0000-0000-000000000000/requests"

  req, _ := http.NewRequest("DELETE", url, nil)
  req.Header.Add("auth", "<token>")
  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.vrchat.cloud/api/1/groups/grp_00000000-0000-0000-0000-000000000000/requests"

response = requests.request("DELETE", url, headers = {
  "auth": "<token>"
})

print(response.text)
Empty
Empty

{
  "error": {
    "message": "You're not a member.",
    "status_code": 403
  }
}

{
  "error": {
    "message": "Can't find groupǃ",
    "status_code": 404
  }
}