Update the user profile
curl --request PUT \
--url https://aquila.attaxr.com/api/user-profiles/me \
--header 'Content-Type: application/json' \
--cookie better-auth.session_token= \
--data '
{
"organizationName": "<string>",
"role": "<string>",
"useCase": "<string>"
}
'const options = {
method: 'PUT',
headers: {cookie: 'better-auth.session_token=', 'Content-Type': 'application/json'},
body: JSON.stringify({organizationName: '<string>', role: '<string>', useCase: '<string>'})
};
fetch('https://aquila.attaxr.com/api/user-profiles/me', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://aquila.attaxr.com/api/user-profiles/me"
payload = {
"organizationName": "<string>",
"role": "<string>",
"useCase": "<string>"
}
headers = {
"cookie": "better-auth.session_token=",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text){
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}User Profiles
Update the user profile
PUT
/
api
/
user-profiles
/
me
Update the user profile
curl --request PUT \
--url https://aquila.attaxr.com/api/user-profiles/me \
--header 'Content-Type: application/json' \
--cookie better-auth.session_token= \
--data '
{
"organizationName": "<string>",
"role": "<string>",
"useCase": "<string>"
}
'const options = {
method: 'PUT',
headers: {cookie: 'better-auth.session_token=', 'Content-Type': 'application/json'},
body: JSON.stringify({organizationName: '<string>', role: '<string>', useCase: '<string>'})
};
fetch('https://aquila.attaxr.com/api/user-profiles/me', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://aquila.attaxr.com/api/user-profiles/me"
payload = {
"organizationName": "<string>",
"role": "<string>",
"useCase": "<string>"
}
headers = {
"cookie": "better-auth.session_token=",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text){
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}Authorizations
apiKeyCookieapiKeyHeaderbearerAuth
Browser session cookie set by Better Auth sign-in.
Body
application/json
Response
The updated profile.

