Update my preferences
Authorization
OrgApiKey AuthorizationBearer <token>
Organization API key. Send as Authorization: Bearer <key>. Create one in Admin > Settings > API keys.
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
curl -X PATCH "https://api.auditmark.io/v1/me/preferences" \ -H "Content-Type: application/json" \ -d '{}'{ "ui": {}, "notifications": { "new_assignments": true, "overdue_inspections": true, "ca_due": true, "ca_due_soon": true, "approval_outcomes": true, "inspection_outcomes": true, "sync_status": true }}{ "detail": [ { "loc": [ "string" ], "msg": "string", "type": "string", "input": null, "ctx": {} } ]}