Update the current user's profile.
curl --request PATCH \
--url https://tryno.io/api/profile \
--cookie __session=const options = {method: 'PATCH', headers: {cookie: '__session='}};
fetch('https://tryno.io/api/profile', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://tryno.io/api/profile"
headers = {"cookie": "__session="}
response = requests.patch(url, headers=headers)
print(response.text){}{
"error": "<string>"
}members
Update the current user's profile.
PATCH
/
profile
Update the current user's profile.
curl --request PATCH \
--url https://tryno.io/api/profile \
--cookie __session=const options = {method: 'PATCH', headers: {cookie: '__session='}};
fetch('https://tryno.io/api/profile', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://tryno.io/api/profile"
headers = {"cookie": "__session="}
response = requests.patch(url, headers=headers)
print(response.text){}{
"error": "<string>"
}Autorizações
Clerk-managed session cookie (or the first-party tryno_session bridge cookie). Sent automatically by browsers on same-origin requests.
Resposta
Success.
The response is of type object.

