Update your profile
curl --request PATCH \
--url https://api.arg.ai/api/auth/me/profile \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.arg.ai/api/auth/me/profile"
headers = {"Authorization": "Bearer <token>"}
response = requests.patch(url, headers=headers)
print(response.text)const options = {method: 'PATCH', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.arg.ai/api/auth/me/profile', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{}{
"detail": "<string>"
}Account
Update your profile
Set default_workspace_visibility to private or org to override the organization default for new workspaces. Set it to null to inherit the organization default.
PATCH
/
api
/
auth
/
me
/
profile
Update your profile
curl --request PATCH \
--url https://api.arg.ai/api/auth/me/profile \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.arg.ai/api/auth/me/profile"
headers = {"Authorization": "Bearer <token>"}
response = requests.patch(url, headers=headers)
print(response.text)const options = {method: 'PATCH', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.arg.ai/api/auth/me/profile', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{}{
"detail": "<string>"
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Response
Successful response
The response is of type object.