Update notification preferences
curl --request PUT \
--url https://api.arg.ai/api/notifications/preferences \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.arg.ai/api/notifications/preferences"
headers = {"Authorization": "Bearer <token>"}
response = requests.put(url, headers=headers)
print(response.text)const options = {method: 'PUT', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.arg.ai/api/notifications/preferences', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{}{
"detail": "<string>"
}Notifications
Update notification preferences
PUT
/
api
/
notifications
/
preferences
Update notification preferences
curl --request PUT \
--url https://api.arg.ai/api/notifications/preferences \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.arg.ai/api/notifications/preferences"
headers = {"Authorization": "Bearer <token>"}
response = requests.put(url, headers=headers)
print(response.text)const options = {method: 'PUT', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.arg.ai/api/notifications/preferences', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{}{
"detail": "<string>"
}Authorizations
bearerAuthapiKeyAuth
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Response
Successful response
The response is of type object.