Approve or reject a pending join request.
curl --request POST \
--url https://tryno.io/api/communities/{handle}/requests/{requestId}/{decision} \
--cookie __session=const options = {method: 'POST', headers: {cookie: '__session='}};
fetch('https://tryno.io/api/communities/{handle}/requests/{requestId}/{decision}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://tryno.io/api/communities/{handle}/requests/{requestId}/{decision}"
headers = {"cookie": "__session="}
response = requests.post(url, headers=headers)
print(response.text){}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}communities
Approve or reject a pending join request.
POST
/
communities
/
{handle}
/
requests
/
{requestId}
/
{decision}
Approve or reject a pending join request.
curl --request POST \
--url https://tryno.io/api/communities/{handle}/requests/{requestId}/{decision} \
--cookie __session=const options = {method: 'POST', headers: {cookie: '__session='}};
fetch('https://tryno.io/api/communities/{handle}/requests/{requestId}/{decision}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://tryno.io/api/communities/{handle}/requests/{requestId}/{decision}"
headers = {"cookie": "__session="}
response = requests.post(url, headers=headers)
print(response.text){}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}Autorizações
Clerk-managed session cookie (or the first-party tryno_session bridge cookie). Sent automatically by browsers on same-origin requests.
Parâmetros de caminho
Opções disponíveis:
approve, reject Resposta
Success.
The response is of type object.

