Update the currently authenticated User's preferences
Security
bearerToken
- Productionhttps://api-v2.dash.app/current-user-preferences
- Staginghttps://api-v2.dashstaging.app/current-user-preferences
- FIXED
- FIELD
curl -i -X PATCH \
https://api-v2.dash.app/current-user-preferences \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"defaultSort": {
"value": {
"field": {
"type": "FIXED",
"fieldName": "STAGED_BY"
},
"order": "ASC"
}
},
"defaultSearchFiltersMatchValues": {
"property1": "ALL",
"property2": "ALL"
}
}'Response
- FIXED
- FIELD
{ "result": { "userId": "google-oauth2|110955770826801837334", "defaultSort": { … }, "defaultSearchFiltersMatchValues": { … } }, "permittedActions": [ { … } ] }